cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
snagpal
Regular Visitor

Azure AD Add User

Hello Members, 

 

I've requirement to get user name from Forms and upon submission add a user to Azure AD group (Security Group)

 

I'm using Azure Object ID as Group ID. I'm not sure if this is the same. I tried hard to find out how to retrive Group ID but no luck. 

 

FlowError.png

8 REPLIES 8
Reimi
Community Support
Community Support

Hello, @snagpal 

 

I could have successfully done the same action with using Object ID.

Is there any information to fix this error?

If you are using dynamic content, that will possibly course this  error.

 

thanks,

Reimi

snagpal
Regular Visitor

What are my options to resolve this? I see you're asking me for clue😏

Reimi
Community Support
Community Support

could you please give us the screenshot of entire flow?

As I said, if you are using dynamic content that can be  the course of the error.

Also, you should check the limitation.

無題の画像5.png

https://docs.microsoft.com/en-us/connectors/azuread/#known-issues-and-limitations

FlowError2.png

How can I find Group ID, I only see Object ID of AD group

Reimi
Community Support
Community Support

you can use Object Id as Group Id.

無題の画像6.png

 

Are you using the security group that is Mail-enabled?
As I commented, mail-enebled security groups are not supported in the Azure AD connector.

Check this site.

 https://docs.microsoft.com/ja-jp/connectors/azuread/#known-issues-and-limitations

Hello Rumi - Thanks for the quick response! I'm not using mail-enabled AD groups. 

Reimi
Community Support
Community Support

Thank you for checking.

Now, I can see all the setting in your flow seems to be correct.

If there is a problem, that may be related to "User Id", I think.

Can you see the User Id (received by the dynamic content) in your run history?

please check the User Id is existing and the user can be added to the group. 

 

Then, if there seems to be no problem, please consider to ask Microsoft Support and give them more detailed information like Flow Id, your tenant information, and zip file of the flow.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,227)