How to update GraphEndpoint to graph.microsoft.com from graph.windows.net #10501
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
As per the documentation I am trying to retrieve a list of users for a daemon application. I can successfully execute the following curl commands and get the results:
Get Token
Request
However executing the code snippet below results in an error:
The required environment variables are set.
Error Message
Further inspection by running in debug mode shows me that the default endpoint is different:
If I generate a token and perform the
curl
request again, I get a token expired error:I suspect if I change the GraphEndpoint to
graph.microsoft.com
I should have some success. However, the following does not take effect:Some guidance on this would be appreciated.
The text was updated successfully, but these errors were encountered: