-
Notifications
You must be signed in to change notification settings - Fork 144
FAQ and Common Issues
The MS Graph documentation contains a Table of Contents listing all the available resources in both v1 and beta branches
Read over the guide to app authentication with Graph. Azure has also published several articles on authenticating using several different application types and endpoints.
My access token is valid, but I receive an error that I do not have sufficient privileges to access a resource
When you authenticate against Graph, you will have to specify which scopes you want. Some of these scopes require admin consent. Consult the Permission scopes documentation as well as the prerequisite scope of the resource you are trying to access. For example,
One of the following scopes is required to execute this API: Calendars.ReadWrite
Make sure that you either use single quotes around your endpoint or escape your "$"
$graph->createCollectionRequest("GET", "/me/messages?\$filter=from/emailAddress/address eq 'email@dot.com'");
or
$graph->createCollectionRequest("GET", '/me/messages?$select=subject');
Check the Known issues page first if you are getting request errors. If you are still looking for troubleshooting, try asking your question on StackOverflow