Repository navigation
File open from Microsoft 365 #5657
Replies: 3 comments 2 replies
|
👋 Thank you for opening this issue! Summary: The user is unable to open draw.io files from Microsoft 365/OneDrive because the authentication flow keeps prompting for a new Azure AD App Registration, even after the admin has registered the app multiple times. They need help properly configuring the draw.io Enterprise Application in their Azure AD tenant. 💡 Possible Solution FoundWe found a potentially relevant solution in a previous issue: Issue #4228 describes a similar problem with opening .drawio files from OneDrive. That issue was closed, and while the specific resolution isn't fully detailed in the provided data, users experiencing OneDrive/Microsoft 365 integration issues should ensure they are using the correct draw.io integration for Microsoft 365 (available at https://app.diagrams.net/?mode=onedrive or via the official Microsoft 365 add-in). The app registration prompt suggests the tenant admin needs to properly grant consent for the draw.io Enterprise Application in Azure AD. The admin should go to Azure Portal > Enterprise Applications > draw.io > Permissions and click 'Grant admin consent' for the organization, rather than re-registering the app repeatedly. 📎 Source: #4228 Please check if this addresses your issue. If not, let us know what's different about your situation.🔍 Possible Related IssuesThis issue might be related to existing issues: 🔴 #4228 - Unable to open .drawio files from OneDrive web app. 🟡 #3835 - Sharepoint/Teams/Onedrive app terms of service and privacy links are broken Please check if any of these address your issue. If this is a duplicate, we may close this issue and continue the conversation there.🤖 This is an automated response to help with initial triage. A human maintainer will review this issue. If you've provided all the requested information, no further action is needed - we'll get back to you soon! |
|
💡 This might help: Issue #4228 discusses problems opening .drawio files from OneDrive/SharePoint. The key solution involves: (1) Ensure you open the drawio file from app.diagrams.net (note the 's' in diagrams), (2) The 'Open from' functionality has moved into the File menu rather than being accessible via right-click or other locations, and (3) Your system administrator must have allowed/granted the DrawIO integration/authentication for SharePoint/OneDrive for Business. Since you mention your App Registration already has the required permissions granted by an administrator, verify that you are using app.diagrams.net (not app.diagram.net) and try using File > Open From > Microsoft 365 from within the app.diagrams.net interface directly. 📎 Source: #4228 🤖 Automated suggestion based on similar resolved issues. |
|
Thanks for the screenshots, they show what's happening. File > Open from > Microsoft 365 needs different permissions from File > Open from > OneDrive. It signs in twice: first to SharePoint, then to Microsoft Graph. So it needs these delegated permissions:
Your enterprise app has admin consent for the Microsoft Graph permissions but not for the two SharePoint permissions. Users in your tenant can't give consent themselves, so the SharePoint sign-in stops at "Need admin approval". Recreating the enterprise app or granting the Graph permissions again won't change that. To grant consent for your whole organisation:
Afterwards, Enterprise applications > diagrams.net > Permissions also lists Office 365 SharePoint Online with the two permissions, and users can open files from Microsoft 365 without the prompt. draw.io asks for these permissions at sign-in, so the Grant admin consent button in the portal may not add the SharePoint permissions. Use the sign-in above instead. |
Uh oh!
There was an error while loading. Please reload this page.
We have problems to open a File from Microsoft 365.

I try:
This happens:


I authenticte my account, after the Window for a new App Registration open:
I registered the App Registration many times with an Admin, but still the same procedere.
My Enterprise App:


An App Registration will not provisioned.
If I delete the Enterprise App and create it with an Admin again, same error.
How can I use this Feature?
All reactions