How to have external users authenticate OneDrive shared access via onetime-passcode?

Ricardo Benton 0 Reputation points
2025-05-29T13:45:18.69+00:00

Hello,

Using 365 Business, I am sharing folders to external clients while needing to provide secure access to these folders. Currently, when they receive the email, it says, "Verify your identity." Enter your email and click Next. It is bringing users to the Microsoft login screen. That's not the expected behavior. We would like for the client to receive a "Request Verification Code" with a button that says, send code, not next as I stated above. This action will then send an email to the user's email account, and then retrieve the passcode for access to the shared folder. Does anyone have farmiliarity with how this works?

Thank you

Rick

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
710 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Austin-H 2,880 Reputation points Microsoft External Staff Moderator
    2025-05-29T16:15:14.6466667+00:00

    Hi @Ricardo Benton

    Thank you for reaching out to the Microsoft Q&A Forum.  Based on my tests, to enter the verification code and avoid logging in with MFA, please create a Conditional Access policy that makes internal users require MFA and external users does not require MFA. Please correct me if I misunderstood. 

    Here are steps: 

    1.Go to Entra Admin Center (you will need to be Global Administrator) -> Protect & Secure -> Conditional Access -> New policy. 

    2.In the Users section: 

    User's image

    User's image

    3.In the Cloud apps and sections: 

    User's image

    4.In the Grant section: 

    User's image

    5.Enable policy. 

    If prompted to Microsoft Login page, if the external user is using @gmail.com, you could still type Google email address and receive the verification code. 

    I hope this helps.  If you have any further questions or need additional assistance, please feel free to ask. 


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.