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 / Power Platform Admin c...
Power Automate
Answered

Power Platform Admin connector - Delete environment Action Error

(0) ShareShare
ReportReport
Posted on by 50

I have set up the Flow that will delete unautorised created environments.

All works fine upubtil it gets to the Delete Environment acction in th Power Platform Admin connector.

Although the connector actually does delete the environment the connectors still gives an error and th flow will fail and not move to th next steps/actions.

 

I pass in parameters to th connectore

my Environment ID,

and 

API Version: 2018-10-01

and teh response from the action is 

   "statusCode": 404,
   "message": "Resource not found"
 
and the flow fails, but as I said it seems to perform th delete action as the Environment is gone? 
How can I get around this fault and get a Success response/status code as expected here?
Categories:
  • v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @TonyMcg1 ,

     

    Could you please share a screenshot of the configuration of your flow?

    Could you please share a screenshot of the flow run history when it is run failed?

     

    Please share more details so we could better undertand your issue and provide a proper workaround for you.

     

    Best regards,

    Alice       

     

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

  • TonyMcg1 Profile Picture
    50 on at

    Hi @v-alzhan-msft 

     

    I have a PowerApps P2 license and an Admin on Tenant in D365 role.

    Here is a screen grab of the connector once it fails after 32 seconds, but the Environmen tis deleted?

    As this fails the flow then fails and the next action cnnot be initiated.

     

    AdminCOnn_DEL_ENV.jpg

  • Verified answer
    TonyMcg1 Profile Picture
    50 on at

    This was identified as a fault by Microsoft, and they pushed a fix to out tenant.

    Issu now has been resolved

  • danst Profile Picture
    2 on at

    Hi, Tony.

    I'm facing the same issue in 2021.

    Was this actually resolved?

  • TonyMcg1 Profile Picture
    50 on at

    @danst 

    yes we got this resolve but had to log a support ticket, and they post an update/change and a day or 2 later the issue was resolved

  • Suggested answer
    Roberto Ilidio Profile Picture
    Microsoft Employee on at
     
     
    The issue is still active in 2026.
     
     
    workaround: manually update the default API version from 2018-10-01 to 2021-04-01
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 432

#2
11manish Profile Picture

11manish 313 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 154

Last 30 days Overall leaderboard