A cloud-based identity and access management service for securing user authentication and resource access
Hi @jop ,
Thanks for reaching out.
I understand you are trying to get access token for Azure Data Explorer in the same way you are getting access token for other resources, but unable to get the access token for Data Explorer.
There are couple of reasons for this particular error. In this case, it seems service principal has not been granted to Azure Data Explorer database.
Once application has been registered and granted delegated permission, you need to grant the corresponding service principal access to your Azure Data Explorer database using Azure Data Explorer.
Reference: https://learn.microsoft.com/en-us/azure/data-explorer/provision-azure-ad-app
Hope this will help.
Thanks,
---------------------------
Please remember to "Accept Answer" if answer helped you.