Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Add User to Group - Forbidden

(0) ShareShare
ReportReport
Posted on by 2
Hi All,
 
I'm a newbie to automate but i'm having a good go at some value add activity through automation.
One such exercise is to automate user account creation and licence assignment.
 
So far i've been able to get the account created but i'm getting a permissions error on the add to group (a security group which drives the licence allocation).
 
I'm currently using a "Service Account" (albeit just a user at this point as I'm not technical enough for managed identities yet and this is just a POC).
The account has Global Administrator, Groups Administrator and User Administrator roles.
 
The error i receive is:
Action 'Add_user_to_group' failed: Insufficient privileges to complete the operation.



Would appreciate any help to get me over the line!
  • Suggested answer
    ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Add User to Group - Forbidden
    See the limitations below from the documentation - do any of these apply to you?

    Known issues and limitations

     

    1. The connector does not return custom attributes of Microsoft Entra ID entities.

    2. The connector does not support Mail-Enabled Security groups.

    3. Microsoft Entra ID group with the attribute "isAssignableToRole" are not supported for now.

    4. If you have deployed Azure Conditional Access (Microsoft Entra ID
      MFA) the connector will not work as expected. To workaround this issue,
      see this solution.


    5.  

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard