Hi @Auðr Aquila
In Teams chat and channels, the file sharing settings are based on the sharing settings for SharePoint and OneDrive in the SharePoint admin center. This issue occurs because these settings are not made correctly in the SharePoint admin center.
To fix this issue, configure the sharing settings in Teams and SharePoint as follows:
- Enable group owners to add people outside the organization as guests.
When you create a team, a Microsoft 365 group is created to manage team membership. To let the group owners add people outside the organization to the group as guests, select the Let group owners add people outside the organization to groups check box from Microsoft 365 Groups guest settings.
- Enable guest sharing from SharePoint admin center:
- Sign in to the SharePoint admin center as an administrator.
- In the left navigation pane, select Policies > Sharing.
- Specify the sharing level for SharePoint and OneDrive to one of the following options: Existing guests
Anyone
New and existing guests
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.