cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Flow unable to access OneDrive for Business - users are unauthorized

Hello everybody, I have created a flow to create a PDF document in OneDrive for Business. Everything works fine for me with my Office 365 Account but when my colleagues trigger this flow they get the following error:

 

Unauthorized. Action: Get Item (OneDrive)

Body:  "status": 401, "message": "Token contains invalid signature.", "source": "api.connectorp.svc.ms" 

 

I have given them full access in OneDrive but the error still occurs. Can anybody tell me what I'm doing wrong?

Thanks in advance.

4 REPLIES 4
Community Support Team
Community Support Team

Re: Flow unable to access OneDrive for Business - users are unauthorized

Hi @PowerAnalytics

 

Could you please share a screenshot of the configuration of your flow?

Have you add your colleagues as the owner your flow?

Please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Re: Flow unable to access OneDrive for Business - users are unauthorized

Hi,

 

I have added my colleagues as the owner of my flow and the unauthorized message has disappeared.

 

Unfortunately now I get an error with statuscode 400: Bad Request and this message

"The provided item ID is not valid for the requested drive". Please find attached the screenshots of my flow.

error.pngError MessageFlow.pngMy Flow

Thank you so much!

 

Best regards,

 

Stef

Community Support Team
Community Support Team

Re: Flow unable to access OneDrive for Business - users are unauthorized

Hi @PowerAnalytics,

 

Could you please share the screenshot of your flow in English or could you please explain the actions?

In which action you have added a item id?

 

 

Best regards,

Alice

Re: Flow unable to access OneDrive for Business - users are unauthorized

Hi, it was the OneDrive for Business 'Get file content' action. In this action there was only a path to an image without a specific item ID.

 

Meanwhile, I have replaced the OneDrive 'Get file content' action with an SharePoint 'Get file content' action and now it works. But in my opinion it would be very useful for the community to resolve this issue.

 

Best regards.

 

Stef

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 81 members 3,433 guests
Please welcome our newest community members: