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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP REST API - Post/P...
Power Automate
Answered

HTTP REST API - Post/Put results with "The requested URL was rejected. Please consult with your administrator."

(0) ShareShare
ReportReport
Posted on by 24

Hey everyone

 

I got this strange issue. I have setup a process in which I call an API with POST to create a new user account. This worked for 2-3 months perfectly. But now, since last week I always receive the body: "The requested URL was rejected. Please consult with your administrator." And the server does not even log these events. The GET calls do work though, which surprises me.

 

I've tested the same with postman.co and there it worked flawlessly. Thus I presume there is some issue with Microsoft Flow. But I cannot find out what it is. Has anyone an idea?

 

{
    "inputs": {
        "method""POST",
        "uri""https://censored/admin/users/",
        "headers": {
            "Content-Type""application/json; charset=utf-8",
            "Accept""application/json"
        },
        "body": {
            "user": {
                "group""censored",
                "email""censored",
                "name""censored",
                "send_password_request"true
            }
        },
        "authentication": {
            "type""Basic",
            "username""censored",
            "password""censored"
        }
    }
}

 

And this worked before last week. So I really don't know what happened...

 

Any help is appreciated. Cheers

Categories:
I have the same question (0)
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Its definitely weird that its not currently working. Looking through it, it looks like it should be working. This is probably going to require some more in depth troubleshooting of the network calls. I would suggest using your developer tab for your browser to see if that returns any relevant data on why it might be failing. If you are still having issues from there and cant figure out what is going on I would suggest opening a ticket with Microsoft Support. I'll include a link below if you would like to go down that path. Otherwise if any other communities users have any ideas feel free to chime in.

     

    If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Regards,

     

    Alex

     

    -------

     

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

  • Verified answer
    Daen Profile Picture
    24 on at

    Hey Alex

    Thank you very much for your help. Luckily I found the cause of this whole debacle. The firewall of the web application was blocking my calls. The reason was that the header was too long and thus the firewall blocked it. We've increased now this limit. 

     

    Maybe it would still make sense for you, to keep an eye on the header length. And try to keep it as short as possible.

     

    Thanks again with best regards

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard