A community member has associated this post with a similar question:
SharePoint Modern Power Automate Grant Access Using REST API

Only moderators can edit this content.

SharePoint Modern Power Automate Grant Access Using REST API

Tom Molskow 386 Reputation points
2023-07-18T21:45:01.3166667+00:00

Hello Community,

For reasons I explained in another post, I need to use a Power Automate "Send HTTP Request" action to grant access to a user instead of the Grant Access action.

I've researched the way to do this in several articles, and I have a way that should work, but I get an error. Here is the screen shot of the actions involved: User's image

The Expression I use is:

body('Get_the_user_Principal_Id')['d']['id']

When I run the workflow I get this error:

 "Correct to include a valid reference to 'Get_the_user_Principal_Id' for the input parameter(s) of action 'Initialize_variable'."

Has anyone else experience this problem? Can you tell me how to solve it? Please provide guidance and examples.

Thanks!

Tom

 

https://powerusers.microsoft.com/t5/Building-Flows/Store-PrincipalID-in-a-variable/m-p/302107#M32007

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes