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? 

Kudo Collector
Kudo Collector

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?


Not applicable

I'm receiving the same error as well.

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Top Solution Authors
Users online (2,857)