Account Verification Code when Sharing on OneDrive/Sharepoint

Anonymous
2021-06-08T22:50:57+00:00

I am curious to know why I occasionaly get sent an Account Verification Code when I share a document/site etc on Sharepoint/OneDrive. I share often and it doesn't come up all the time. However, the code seems pointless because the person I share it to can still open the document etc without the verification code. This is the message I get (along with the code):

For security purposes, you must enter the code below to verify your account to access "...". The code will only work for 15 minutes and if you request a new code, this code will stop working.

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote

7 answers

Sort by: Most helpful
  1. Anonymous
    2021-06-09T07:29:28+00:00

    Hi Rachael Cooper:

    Based on your description, we understand that you want to know why you occasionally get sent an Account Verification Code when I share a document/site etc. on SharePoint/OneDrive.

    It depends on the type of recipient:

    Recipients who provide a verification code

    When users share files or folders, recipients will be asked to enter a verification code if they have:

    • A work or school account in Azure AD from another organization
    • An email address that is not a Microsoft account or a work or school account in Azure AD.

    If the recipient has a work or school account, they only need to enter the code the first time. Then they will be added as a guest and can sign in with their organization's username and password.

    If the recipient does not have a work or school account, they need to use a code each time they access the file or folder, and they are not added to your directory.

    Recipients who do not need to authenticate.

    Anyone with the link (inside or outside your organization) can access files and folders without having to sign in or provide a code. These links can be freely passed around and are valid until the link is deleted or expires (if you have set an expiration date). You cannot verify the identity of the people using these links, but their IP address is recorded in audit logs when they access or edit shared content.

    People who access files and folders through "Anyone" links are not added to your organization's directory, and you can't assign them licenses. They also cannot access sites using an "Anyone" link. They can only view or edit the specific file or folder for which they have an "Anyone" link.

    More information for you to reference:External sharing overview - SharePoint in Microsoft 365 | Microsoft Docs

    Hope this will help you.

    Tin

    11 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-06-09T23:45:01+00:00

    Thanks for your information.

    So if I share something to someone with a work account in the same organization as me, this verification code shouldn't come up?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-06-10T08:42:53+00:00

    Hi Rachael Cooper:

    In short word, anyone with the link (inside or outside your organization) can access files and folders without having to sign in or provide a code. These links can be freely passed around and are valid until the link is deleted or expires.

    That means  if I share something via OneDrive/Sharepoint with the setting that Any one with this link can view, this verification code shouldn't come up.

    More information for you to reference:Share OneDrive files and folders - Office Support (microsoft.com)

    Hope this will help you.

    Tin

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-06-10T19:26:39+00:00

    Thank you.

    Is there anything I can do so that the verification code doesn't come up when I share? It doesn't happen often but if I can prevent it then that would be great.

    0 comments No comments
  5. Anonymous
    2021-06-11T09:11:47+00:00

    Hi Rachael Cooper:

    If I share something via OneDrive/Sharepoint with the setting that Any one with this link can view, this verification code shouldn't come up.

    More information for you to reference:Share OneDrive files and folders - Office Support (microsoft.com)

    Hope this will help you.

    Tin

    1 person found this answer helpful.
    0 comments No comments