Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App blocked calling O365 Discovery Service

The app was registered and worked fine to call O365 Discovery Service to discover API endpoints. But it stopped working lately. I know Discovery Service is to be obsoleted next year, but it should still work now.

Error is:

{"error":{"code":"101, Microsoft.Online.Services.O365Discovery.O365DiscoveryException","message":"The app ID is blocked for access of the O365 Discovery Service."}}

like image 556
Wei Shao Avatar asked Jul 19 '18 15:07

Wei Shao


1 Answers

Newly created apps does not have access to O365 discovery endpoint due to deprecation. You can now use the graph api to get the info you want.

More info can be found here: https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/how-to/discover-service-endpoints

like image 193
Giorgos Poulis Avatar answered Oct 22 '22 11:10

Giorgos Poulis