Microsoft Exchange Workplace Calendar Sync issue with subscription not being generated.

Rami_Joulani
Tera Contributor

Hey everyone,
I have an issue with configuring this app, I was following the guided set up and encountered an issue with the credentials when I tried to activate a Reservable Sync Configuration record, 

Rami_Joulani_0-1735229498772.png

Rami_Joulani_1-1735229535912.png


I couldn't find a solution for this so I left it for few days
Today this issue didn't come up again, 

Rami_Joulani_2-1735229649220.pngRami_Joulani_3-1735229667035.png


The try action didn't run here don't know why, and I get that this resource is invalid, though it is identified in the Exchange portal resources as room.
What can I do, is there more configuration in servicenow other than adding provider, then the reservable sync conf. 
and the webhook registry for the calendar sync, with the credentials now not generating an error.

1 ACCEPTED SOLUTION

@Rami_Joulani Also, check your OAuth Entity profile for MS Graph 1 and MS Graph 2 are both set to Microsoft Exchange Online_clientCredentials default_profile

View solution in original post

16 REPLIES 16

@Rami_Joulani Can you send screenshots?

 

First, I'd check your scheduled jobs to make sure they're working:

 

https://[yourinstance]/sysauto_list.do?sysparm_query=sys_scope%3D23a52118c3231010e272a2ceea40ddd1%5EORsys_scope%3Dab1889e6db6cb700308ddd384b9619e0%5Eactive%3Dtrue&sysparm_first_row=1&sysparm_view=

Which one is it related to the tokens?

Rami_Joulani_0-1736188332876.png

and this is the tokens I have, as you see refresh tokens is only connected to the non clientCredential record

Rami_Joulani_1-1736188422850.png

I tried extending the date from here but I guess that wouldn't work for access tokens
I figured this issue when everything seemed working but no reservations were sent to exchange until I went to Graph 1 credentials and got another OAuth token for it and refreshed the subscriptions for the spaces, or vice versa can't remember. this fixes it for an hour until it expires again

 

@Rami_Joulani Let's have a look at the 'Renew Subscriptions' flow. It's under Microsoft Exchange Online Spoke scope

Rami_Joulani_0-1736195226631.png

@connorlyons  Executions are completed, I see not updated as renewal not required
but isn't it related more to refresh tokens not subscription values?

@connorlyons I understand now when I get another access token, when the renew subscription flow executes it will renew and update the record, so what is left is a scheduled job to keep renewing the access token.