This repository has been 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
Labels
enhancement
New feature or request
pipeline
This issue or pull request concerns a pipeline definition
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
The text was updated successfully, but these errors were encountered: