Hello,
I am trying to automate the process of creating a new guest user and adding him to a certain Azure AD security group using Power Automate. But when the process gets to adding the new guest user, the following error occurs:
The output error message states that "code":"Authorization_RequestDenied","message":"Insufficient privileges to complete the operation." The flow is connected to my MS account and on Azure AD, my account has permissions to add members to groups. Why is the flow ending in an error, when my account should have the permission to add members to Azure AD groups?
Thank you @ekarim2020, my Azure AD group was role-assignable and this was the reason why my flow wasn't allowed to add new users into the group.
Hi @LasseNordqvist ,
Can you please double-check
Please also see the following post: Solved: Re: Insufficient privileges to complete the operat... - Power Platform Community (microsoft.com)
Reference doc: Azure AD - Connectors | Microsoft Learn
Ellis
____________________________________
If I have answered your question, please mark the post as ☑️ Solved.
If you like my response, please give it a Thumbs Up.
My Blog Site
Hi @LasseNordqvist ,
Can you confirm that your account is a group owner of the Azure AD security group.
Ellis
____________________________________
If I have answered your question, please mark the post as ☑️ Solved.
If you like my response, please give it a Thumbs Up.
My Blog Site
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional