While sharig document anyone option is disabled in sharepoint library

sns 9,236 Reputation points
2021-02-06T05:17:02.49+00:00

I would like to use below highlighted option in the screenshot to share document with anyone. Please help me in clarifying my below questions.
Why it is disabled? How to enable?
And in the specific people category I tried to add Gmail account but it is not resolving, what should I add to resolve external mail id I specific people area? Please help.
65291-64757-capture.jpg

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,917 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 47,851 Reputation points Microsoft Vendor
    2021-02-08T08:31:09.247+00:00

    @sns
    1.Here’re steps to enable external sharing.
    (1)Go to SharePoint admin center -> Polices -> Sharing -> Set "Content can be shared with" as "Anyone".
    65270-1.png
    (2)Go to SharePoint admin center -> Active sites -> Select the site -> Sharing -> Set "Site content can be shared with" as "Anyone".
    65284-2.png
    (3)Go to the site -> Site permission -> Site sharing.
    65277-3.png

    2.By default, Gmail account is allowed. If you encounter issues, please provide screenshots of share to specific user with Gmail account.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.


1 additional answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,626 Reputation points MVP
    2021-02-06T09:37:02.773+00:00
    1 person found this answer helpful.

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.