M365 Compliance connector error in Power Automate flow with retention label action
Hi everyone,
I’ve been troubleshooting this issue for some time now but haven’t found a solution yet. I’m configuring retention labels in Purview that trigger a ‘Run a Power Automate Flow’ action at the end of the retention period. This functionality is outlined in this Microsoft Learn article: Customize what happens at the end of the retention period | Microsoft Learn
The issue arises on the Power Automate side. To set up the flow that integrates with the retention label, the Compliance 365 Connector must be used. This connector requires a Power Automate Premium license, which I have on my account. The flows are also set up in the Default Power Automate environment, as required.
Despite following all the necessary steps, the flows won’t launch. I keep encountering the same error each time. I’ve even tried creating multiple retention labels and corresponding flows, each using the compliance connector, but the result is always the same.
I’ve attached documentation with screenshots for reference:
First error in flow checker:
When opening the flow I see ‘Forbidden Error’ and ‘The response is not in JSON format’
These are the inputs:
These are the outputs:
For test purposes I created multiple retention labels with each time configured to start the flow 1-5 days after the label is applied. Each time getting the same errors. I know it can sometimes take some time for a labels action to be run, but has been a few months now.
Please help
Hi everyone, I’ve been troubleshooting this issue for some time now but haven’t found a solution yet. I’m configuring retention labels in Purview that trigger a ‘Run a Power Automate Flow’ action at the end of the retention period. This functionality is outlined in this Microsoft Learn article: Customize what happens at the end of the retention period | Microsoft LearnThe issue arises on the Power Automate side. To set up the flow that integrates with the retention label, the Compliance 365 Connector must be used. This connector requires a Power Automate Premium license, which I have on my account. The flows are also set up in the Default Power Automate environment, as required. Despite following all the necessary steps, the flows won’t launch. I keep encountering the same error each time. I’ve even tried creating multiple retention labels and corresponding flows, each using the compliance connector, but the result is always the same.I’ve attached documentation with screenshots for reference: First error in flow checker: When opening the flow I see ‘Forbidden Error’ and ‘The response is not in JSON format’ These are the inputs: These are the outputs:For test purposes I created multiple retention labels with each time configured to start the flow 1-5 days after the label is applied. Each time getting the same errors. I know it can sometimes take some time for a labels action to be run, but has been a few months now. Please help Read More