Showing results for 
Search instead for 
Did you mean: 
New Member

Add User to Group

Hi all,


i think i´ve found a bug in the following action: Azure AD: Add user to Group.
When i try to add an user to a group, i alway´s get the following error:

"{ "error": { "code": "Request Bad Request", "message": "Parameter securityEnabledOnly must be valid Boolean value.", "innerError": { "request-id": "80537e57-80ee-4f52-9f1c-ff061283426c", "date": "2017-06-30T12:36:01" } } }"


But i can´t define any parameter for securityEnabledOnly (i think this will filter for Security Groups).


All my Best,


Community Support
Community Support

Hi @Dom1979,


Is this issue happening to other groups in your Azure AD or just this specific one? Please try with different types of groups and have a test.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mona,


thank´s for your feedback. I can try to scope to a group. But the original flow was designed to read all the groups of a template user and add a new user to this groups (New User Workflow with sharepoint list).

  1. Create User in Sharepoint List
  2. Create User in AzureAD
  3. Read Template User based on Office Location of the new user
  4. Read all groups of the template user
  5. add the new user in each of the goups where the template user is member of




Hey @Dom1979, Did you end up getting this working? 

Advocate V
Advocate V

I received the same error when using "Get groups of a user Azure AD connector.

"Parameter securityEnabledOnly must be valid Boolean value."

I dont get the same error when using the "Get user" action though.

Is it related maybe to some security settings?


I'm receiving the same error as well.

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (70,456)