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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting error for Add ...
Power Automate
Unanswered

Getting error for Add User to AD Group

(0) ShareShare
ReportReport
Posted on by 54

Hello, 

I am getting this error when I am adding users to the AD group. I have tried manually to add users in the following AD group and it works. But I am getting Group ID and User ID from the Sharepoint list. And Sharepoint list I am using Add user to AD Group connector in the flow. And it's throwing this below error. 

Before one week it's working fine but I got an error today.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>

krish11_0-1617814250381.png

Please help me. If anyone has any idea about what's going on here. O really appreciate your help.

Categories:
I have the same question (0)
  • Verified answer
    v-duann-msft Profile Picture
    on at

    Hi @krish11 

     

    Thank you for posting.

     

    According to your description, you are getting error while adding users to AD group via flow. But it was working before. If any misunderstanding, please kindly let me know.

     

    I tested this action from my end and it works normally. Thus, I believe it’s not a global problem right now.

    v-duann-msft_0-1617858962414.png

     

    Based on the 400 error code, it belongs to action configuration. Is that possible that you can establish the connection and test again.

     

    I did some research, all issues get such kind of error are related to flow misconfiguration. Could you please share me your flow overview just in case we missed any mistake?

    https://docs.microsoft.com/en-us/power-automate/fix-flow-failures

     

    Hope to hear from you soon.

     

    Best regards,

    Anna

  • pavanpatil123 Profile Picture
    13 on at

    Hi @v-duann-msft 

    I'm getting below error while add user to azure AD group using flow

     

    {

      "error": {

        "code": "Authorization_RequestDenied",

        "message": "Insufficient privileges to complete the operation.",

        "innerError": {

          "date": "2022-11-01T16:09:00",

          "request-id": "fe369e8d-da15-48a9-a0a3-3a83b400f1c2",

          "client-request-id": "fe369e8d-da15-48a9-a0a3-3a83b400f1c2"

        }

      }

    }

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard