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 / Cannot create OneDrive...
Power Automate
Unanswered

Cannot create OneDrive for Business data connection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am trying to create (or reauthenticate) a OneDrive for Business data connection in a client's Power Automate environment. I get the following error:

 

 

OAuth2CertificateOneDriveForBusiness authorization flow failed for service 'OneDrive For Business Certificate'. Error deserializing GraphDriveResponseEntity. Exception=System.ArgumentNullException: Value cannot be null. Parameter name: uriString at System.Uri..ctor(String uriString) at ConsentServer.Core.Services.Login.OneDriveForBusinessLoginStrategy.d__7.MoveNext()

 

 

My team believed it to be a DLP policy issue as it first arose when importing a workflow, however I get the same error when attempting to create the connection in the connections page, not within a flow. I also tried creating a new flow with only a OneDrive trigger, with no other connectors, and the connection failed again. The OneDrive for Business connector is in the Business group of the policy. 

 

From my understanding of DLP policies I should still be able to create the connection in the connections tab, and should only have issues with the policy when using it in a flow with other connectors. How can I create this data connection? Thanks.

Untitled.png
Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Were you able to find a solution? I'm getting the same error.

  • Rami7250 Profile Picture
    2 on at

    We have the same problem. Maybe its related to the license on that mailbox?

    Currently we use: Microsoft 365 Business Basic plan

     

    We get that error:

     

    OAuth2CertificateOneDriveForBusiness authorization flow failed for service 'OneDrive For Business Certificate'. Error deserializing GraphDriveResponseEntity. Exception=System.ArgumentNullException: Value cannot be null. Parameter name: uriString at System.Uri..ctor(String uriString) at ConsentServer.Core.Services.Login.OneDriveForBusinessLoginStrategy.d__7.MoveNext()


    See attached

    one-drive-error.png
  • Automon Profile Picture
    8 on at

    Getting the same error when attempting a flow import. I don't suspect that I am trying to do anything too crazy. Simple import. 

  • Automon Profile Picture
    8 on at

    Ah, fixed for me. I don't understand what was going in the background, or the reasoning, but my fix was to log onto the new account's OneDrive and finish the initialization process. After that I was able to connect to its OneDrive

     

  • Alvorosie Profile Picture
    5 on at

    It was exactly that, just needed to log in on OneDrive for the first time. After that I was able to create the connection without any problems. Thank you!! Was searching for a solution for hours

  • srokaja Profile Picture
    9 on at

    Thank you this saved me!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard