Hi,
You are right. You need to use delegated permissions for that API - managed identity will not work.
There are some other discussions on this issue:
Hope this helps!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I might want to run a query against Graph API from a Logic App to search sharepoint for URLs, to do so I want to use a system-assigned identity, which will be given permissions to query sharepoint.
However, when I read https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0 it explicitly says:
'Search requests run in the context of the signed-in user, identified using an access token with delegated permissions.'
While I have the idea that the managed identity will have application permissions and not delegated permissions. Does this mean that the managed identity will not be able to use this endpoint at all? Or is this wrongly documented?
Hi,
You are right. You need to use delegated permissions for that API - managed identity will not work.
There are some other discussions on this issue:
Hope this helps!