Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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?
  • TonyMcg1 Profile Picture
    50 on at
    Re: Power Platform Admin connector - Delete environment Action Error

    @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

  • danst Profile Picture
    2 on at
    Re: Power Platform Admin connector - Delete environment Action Error

    Hi, Tony.

    I'm facing the same issue in 2021.

    Was this actually resolved?

  • Verified answer
    TonyMcg1 Profile Picture
    50 on at
    Re: Power Platform Admin connector - Delete environment Action Error

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

    Issu now has been resolved

  • TonyMcg1 Profile Picture
    50 on at
    Re: Power Platform Admin connector - Delete environment Action Error

    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

  • v-alzhan-msft Profile Picture
    on at
    Re: Power Platform Admin connector - Delete environment Action Error

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow