问题
I'm trying to list all the users/emails who have access to a file in a Document Library. That includes getting the transitive members of groups with assigned permissions to the file. I'm able to get the list of permissions for the file using Graph Api (using the permissions endpoint) but some of the groups come without an Id and only show the display name on the property "grantedTo".
The documentation for the Identity resource type says that this can happen for some scenarios, but does not provide any example of those.
What are the possible reasons I'm not getting the Id on the response from the get permissions API call?
来源:https://stackoverflow.com/questions/59722348/missing-id-property-in-identity-resource-type-microsoft-graph-api