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."}}
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With