web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adding guest user to a...
Power Automate
Answered

Adding guest user to a Azure AD Security Group using Power Automate

(0) ShareShare
ReportReport
Posted on by 14

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:

 
 

image.png

 

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?

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    12,024 Super User 2026 Season 1 on at

    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

  • LasseNordqvist Profile Picture
    14 on at

    Hello @ekarim2020 ,

     

    My account is a owner of the group that i'm trying to add guest users to.

  • Verified answer
    Ellis Karim Profile Picture
    12,024 Super User 2026 Season 1 on at

    Hi @LasseNordqvist ,

     

    Can you please double-check

    1. You have the correct group ID in the "Add user to group" action.
    2.  The group is NOT a Mail-Enabled Security groups. This type of group is not supported.

     

    Please also see the following post: Solved: Re: Insufficient privileges to complete the operat... - Power Platform Community (microsoft.com)

    ekarim2020_0-1688107365850.png

    ekarim2020_1-1688107378961.png

    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

  • LasseNordqvist Profile Picture
    14 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard