Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

[IDEA] Automate the activation of the early access to a new major release for a Power Platform environment #15

@rpothin

Description

@rpothin

In some cases you could want to automate the activation of the early access to a new major release for a Power Platform environment.

Below we have some information (gathered by our friend David Rivard) that could help us work on that issue:
Here is the request that is sent when you click on the Enable button:
https://admin.powerplatform.microsoft.com/api/environments/{GUID_OF_ENV}/features/October2020Update/enable?geo=Na
*geo=Na must standfor NorthAmerica
**I guess Each update will have there own url (ex. October2020Update, April2021Update) etc..

The tricky part would be to assess when the upgrade process is finished in order to put it in a release pipeline.

By analyzing the request sent by the admin portal I think this could be achieved.
After enabling the feature, this request is sent at regular interval
https://admin.powerplatform.microsoft.com/api/environments/{GUID_OF_ENV}/features?geo=Na

The response gives the status of the upgrade in the AppsUpgradeState property
Upgrade in progress

Upgrade finished

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpipelineThis issue or pull request concerns a pipeline definition

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions