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 / HTTP REST API - Post/P...
Power Automate
Unanswered

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
    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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard