Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

(0) ShareShare
ReportReport
Posted on by 30

I have a flow, where I am using grant access to an item or a folder action to provide edit access to particular folder from sharepoint library.

But when the recipients(  recipients are not from the organization AD directory ) receive mail, then it is first asking for email verification and then send code for further verification.

 

Can we avoid that email verification step to make it as like as we are sharing files with specific people in SharePoint online site (just code verification). 

 

Help will be appreciated.

 

  • GeorgiosG Profile Picture
    1,013 Super User 2024 Season 1 on at
    Re: Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

    Hi @Bharti_Satpute , 

     

    Please click Accept as solution if my post helped you solve your issue.

  • Bharti_Satpute Profile Picture
    30 on at
    Re: Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

    Hi @GeorgiosG ,

    Okay got that.

    Thanks a lot for your reply.

  • Verified answer
    GeorgiosG Profile Picture
    1,013 Super User 2024 Season 1 on at
    Re: Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

    Hi @Bharti_Satpute ,

     

    you can try it with the SP API I sent you in the post before.

    Or one of these two will help you out, but as I mentioned, I don’t think that you can avoid this verification step.

    164A471B-FB01-4E6F-B4AE-42F087005DF4.jpeg

  • Bharti_Satpute Profile Picture
    30 on at
    Re: Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

    Hi @GeorgiosG 

    Thanks for reply. 

     

    Organization wants to avoid anonymous link.

     

    Can we use any Graph API or SharePoint API to share a library folder or file with specific external user? Please guide on this?

  • GeorgiosG Profile Picture
    1,013 Super User 2024 Season 1 on at
    Re: Grant access to an item or folder action asks for email verification then code verification, when external user try to access that folder

    Hi @Bharti_Satpute ,

     

    I assume that this cannot be “avoided” as this is a part of the user verification. https://docs.microsoft.com/en-us/sharepoint/external-sharing-overview#what-happens-when-users-share

    If you want to simply work with a simple code you can think about using ananonymous link referred as well in the article in chapter Recipients who don't need to authenticate 

    For this you could use the SharePoint API : https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Create-sharing-link-for-a-file-or-folder-in-SharePoint-for/idi-p/194595/page/2#comments

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow