Share via

Getting error while accessing Teams as external Guest user

Chintan Upadhayay 21 Reputation points
Jul 6, 2023, 9:56 AM

Hello,

I have shared a team site from the MS teams with an external guest user.
The external user is not able to see the files on his teams, getting the below message.

TeamsError.png

When he tries to open the SharePoint site on the browser he gets the below error message.

"Something went wrong

The organization that owns this resource has a policy that prevents access from people in the domain you're currently signed in to. If you think you should have access, please contact the person who sent you the link to this resource."

I have checked in the network tab getting errors against the _api/SP.OAuth.NativeClient/Authenticate and /_api/contextinfo API's.

Note: I only allow "Limit external sharing by domain" from the Admin.
User's image

Any pointers on this would be a great help. Thanks in advance.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,486 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,969 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 27,871 Reputation points Microsoft Vendor
    Jul 18, 2023, 9:54 AM

    Hi @Chintan Upadhayay ,

    If you can make sure that you put the domain of this external user in the allowed list. Check if there are any conditional access policies in place that could be preventing the external user from accessing the resource. You can check this in the Microsoft Entra admin center.


    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.


1 additional answer

Sort by: Most helpful
  1. Koti 176 Reputation points
    Jul 6, 2023, 9:25 PM

    First access is different from teams and files . As guest able to access teams there is no problem with teams. Files not visible so in SharePoint you are limited domains, so add guest full domain eg: company.com, company.onmicrosoft.com. Also on site check are tenant sharing settings inherited or site has it own domains list.hioe this helps

    0 comments No comments

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.