Sharing Folders with External Users spams Organization Login Prompts

Stephane Fagnan 51 Reputation points
2023-01-26T00:55:17.5733333+00:00

I asked this question on the OneDrive dev forum a few weeks ago (link) but have not received any responses - apart from another user saying they are running into the same issue:

In OneDrive, I can create a sharing link for a folder and set the link so "Anyone with the link can edit". I assume this means that even users outside my organization can edit the folders and files within the shared folder.

 

If I test this with an external account, I'm able to edit the files and folders. However, I'm periodically prompted with a Microsoft login pop-up window. I can ignore/close the login prompt and continue editing the files. However, the login prompt keeps popping up periodically, including every time I refresh the screen. If I try to log in with the external user account, it gives me an error saying I'm not part of the tenant and I need to be added as an external user to the tenant. But then I can still close that and continue editing the files.

 

If I send the invite link for a folder via a graph API call, I'm forced to set the "requireSignIn" property to True in the body of the request. If I set it to False, I get an error: 

RequireSignIn cannot be false for folders

I do not run into the same issue when sharing files. Whether I create the link in OneDrive UI or via the API, the external user does not get hit repeatedly with login prompts. 

 

Am I doing something wrong or is this a bug? If sharing a folder is not allowed outside an organization, why does it allow me to create a sharing link where "Anyone with the link can edit"? And why is the external user still able to edit the files despite the repeated login prompts?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,573 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
806 questions
{count} vote

3 answers

Sort by: Most helpful
  1. CharanyaB-MSFT 1,421 Reputation points Microsoft Vendor
    2023-01-26T09:54:08.63+00:00

    Hello @Stephane Fagnan,

    As the sharing link for a OneDrive folder is set to "Anyone with the link can edit", the recipients won't need to sign in to access the content.

    It shouldn't ask for a login prompt for the given access, as anyone with the link can edit the contents of the folder. This looks like a bug, as login prompt is not expected.

    Since, this seems to be a bug, I would recommend you raise a support case with Microsoft, a dedicated Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the reply is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment".

    0 comments No comments

  2. TomaszKawka 0 Reputation points
    2023-03-01T00:15:42.7133333+00:00

    Hi there,

    Were you able to resolve this issue? We are having the same problem with external users being prompted for a login and password. Sharing individual files works as expected, user gets a verification code and is not asked for a login or password!

    Best Regards,

    Tomasz


  3. ExternalUser007 0 Reputation points
    2023-05-31T12:52:31.7366667+00:00

    We are now also experiencing this same issue. All we are doing is sharing folders and new sign-in tabs keep appearing. Support was completely not helpful with the first try.

    Any updates? @Anonymous @Zehui Yao_MSFT

    0 comments No comments