web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error message: OAuth2C...
Power Automate
Answered

Error message: OAuth2CertificateSharePointOnlineV2 authorization flow failed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I currently have a Flow setup whereby a Form gathers responses and puts them into a SharePoint list. I have Office 365 accounts with 2 companies. The form is hosted on my Company 1 acccount, the SharePoint list is hosted on my Company 2 account. The flow was working until recently when the following error message pops-up: 

Failed with error: 'OAuth2CertificateSharePointOnlineV2 authorization flow failed for service 'SharePoint Online Certificate V2'. A Data Loss Prevention policy prohibited updating a connection using the provided credentials. Details: The client tenant (...) is restricted from accessing resources in the tenant (...).'. 

I tried seeing if I could create a connection to the Form from my Company 2 account directly, but then I get the same message with 'OAuth2Certificate authorization flow failed for service 'First Party Azure Active Directory' instead.

 

I've searched around but haven't found any fixes for this specfic error. What can I do to resolve this, or can anybody point me towards a solution? Any help would be much appreciated.

Categories:
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    It seems that your organization has set the DLP policy, and the Flow you configured violates the Policy.

    Please ask the administrator if there is such a situation.

     

    For more details on DLP in SharePoint Online and Microsoft Flow, please refer to the link below:

    implement-data-loss-prevention-dlp-in-sharepoint-online.aspx

    MS Flow-prevent-data-loss

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard