- Joined
- Mar 3, 2022
- Messages
- 3
- Reaction score
- 0
Hi folks,
maybe you guys can help me out with this one?
- Users reported phone directory stopped working
- O365 re-sync was done. Solved the problem for 2-4 days.
- Now, according to system log I cannot sync anymore at all, due to: "Access denied. Please check if Application ID is correct and public key is uploaded to corresponding application in."
- I deleted and re-created the O365 app-registration twice, re-uploaded the public key and check application ID (screenshots), but nothing helped.
- What am I doing wrong?




maybe you guys can help me out with this one?
- Users reported phone directory stopped working
- O365 re-sync was done. Solved the problem for 2-4 days.
- Now, according to system log I cannot sync anymore at all, due to: "Access denied. Please check if Application ID is correct and public key is uploaded to corresponding application in."
- I deleted and re-created the O365 app-registration twice, re-uploaded the public key and check application ID (screenshots), but nothing helped.
- What am I doing wrong?
Code:
2023/06/05 18:43:56.426|6528|0028|Erro|Error while Office365SubscriptionManager.UpdateSubscription Create subscription for resource: /users changeTypeExpected: updated,deleted Exception: Access denied. Please check if Application ID is correct and public key is uploaded to corresponding application in https://apps.dev.microsoft.com.
2023/06/05 18:43:56.427|6528|0028|Verb|Error while Office365SubscriptionManager.UpdateSubscription Create subscription for resource: /users.
Full exception info:
System.UnauthorizedAccessException: Access denied. Please check if Application ID is correct and public key is uploaded to corresponding application in https://apps.dev.microsoft.com.
at Graph.Access.Office365AuthorizationToolkit.ExecuteQuery(HttpClient client, IDictionary`2 query, String tenantId, CancellationToken token)
at Graph.Access.Office365AccessTokenManager.GetAsync(Boolean checkSendMail, CancellationToken cancellationToken)
at Graph.Access.GraphServiceClientFactory.<CreateClient>b__3_0(HttpRequestMessage requestMessage)
at Microsoft.Graph.BaseRequest.AuthenticateRequestAsync(HttpRequestMessage request)
at Microsoft.Graph.BaseRequest.SendRequestAsync(Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
at Microsoft.Graph.BaseRequest.SendAsync[T](Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
at Integration.Office365.Notifications.Office365SubscriptionManager.UpdateSubscription(Subscription subscription, String changeTypeExpected, String notificationsUrl, String resource, String clientState, CancellationToken token)
2023/06/05 18:43:56.427|6528|0028|Info|CorrectAzurePropertiesAndSaveAllData: Transaction save data passed successfully.



