power-automate

How do we prevent a Power Automate Flow triggering a warning "Premium flows not running in context of a Power App but are using Power App licenses"?


The problem:

At Power Platform Admin centre > Billing > License > |Environments| tab > Select environment: {Your Environment} > Product: Power Automate > Right hand card: There's the following warning ...

https://admin.powerplatform.microsoft.com/billing/licenses#environmentview#powerautomate# [Environment GUID redacted]

Attention needed
Please note that it could take up to 48 hours for the flow to become compliant after any new license assignment. Consider utilizing License Auto-claim for automated license assignment.

Beneath that an issue given as a hyperlink ...

Premium flows not running in context of a Power App but are using Power App licenses

Clicking on the link lists the flows effected in a card underneath.

Warning message: Premium flows not running in context of a Power App but are using Power App licenses

The full force of the problem is that at a recent point Microsoft threatended to turn off the flows in X days, given the license problem. That threat has been removed by Microsoft; but they could well reinstate it. In any case one doesn't want a flow that "needs attention".

A second part of the problem is that's not clear:


Solution

  • Summary

    Detail

    It turns out the a flow triggers this warning message when it:

    An example flow deatils

    To fix: