Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hello
To help narrow down the issue, you may want to perform the following checks during the investigation:
1/ Check whether the property is exposed in the policy returned by the service
Get-CsExternalAccessPolicy -Identity Global | Format-List *
Please verify whether the following property appears in the output:
RestrictTeamsConsumerAccessToExternalUserProfiles
This check helps confirm whether the RestrictTeamsConsumerAccessToExternalUserProfiles setting is included in the policy returned by the Teams service
2/ Compare the behavior in another tenant (if available)
If you have access to a separate test or development tenant, try running the same command there
If the command succeeds in another tenant but consistently fails in this tenant, that would suggest the issue may be related to feature availability or tenant-specific service configuration rather than administrator permissions.
However, for further investigation and support, you need to contact Microsoft Support through the Microsoft 365 Admin Center. They can conduct a more detailed investigation and provide guidance based on service-side diagnostics that are not available through the forum.
Kind regards,