Skip to content
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

Open
rpothin opened this issue Oct 10, 2020 · 3 comments
Labels
enhancement New feature or request pipeline This issue or pull request concerns a pipeline definition

Comments

@rpothin
Copy link
Member

rpothin commented Oct 10, 2020

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

@lar-mar
Copy link

lar-mar commented Oct 24, 2020

I already asked MSFT for a supported way to enable Release Wave x via API. They told me some months ago that there is currently no other way than doing it via the UI in PPAC.
Would be great if we could find an alternative.

@BenediktBergmann
Copy link
Member

Since the UI in PPAC always requests some API it should be possible to do that by our self. If I remember correctly @drivardxrm look at something in that space already.

@rpothin
Copy link
Member Author

rpothin commented Dec 13, 2020

In complement, this issue has been created based on the information provided by David Rivard 😉 (as you can see in the description - first post - of the issue)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request pipeline This issue or pull request concerns a pipeline definition
Projects
None yet
Development

No branches or pull requests

3 participants