
Announcements
I've created a Sensitivity Label with conditional access (Block access) in Microsoft Purview. After I've applied this Sensitivity Label to a SharePoint Online site and tried to test the flow that I've created previously, the flow failed. The error message I received as follows:
Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'Forbidden'. This may indicate invalid input parameters. Error response: { "error": { "code": "accessDenied", "innerError": { "code": "conditionalAccessPolicyEnforced" }, "message": "Due to organizational policies, you can't access these resources from this device." } }'.
If I removed the Sensitivity Label from the site * it run successfully. Anyone can advise?
Hi,
The error message you received indicates that the dynamic operation request to API
‘sharepointonline’ operation ‘GetTable’ failed with status code ‘Forbidden’ due to organizational
policies that prevent access to these resources from your device.
To resolve this issue, you need to grant your device access to the resources by configuring
the appropriate conditional access policies. You can do this by signing in to the Azure portal using
an account with administrator permission and navigating to the
Microsoft Entra ID > App registrations > API permissions tab. From there,
you can add the necessary permissions for your app registration and configure the rules for conditional
access policies.
br,
Gill