Forum Discussion
rrdrummond88
Jan 15, 2025Copper Contributor
External Access Policy - CsExternalAccessPolicy e CsTenantFederationConfiguration (PowerShell)
Hello, community.
We are trying to enable functionality regarding the creation of external access policies using the New-CsExternalAccessPolicy (CommunicationWithExternalOrgs) and Set-CsTenantFederationConfiguration (CustomizeFederation) commands. However, we are receiving the following error:
Set-CsTenantFederationConfiguration : Customize Federation is not allowed to enable in your tenant. In line:1 character:1 + Set-CsTenantFederationConfiguration -CustomizeFederation $true + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: ({ ConfigType = ...Configuration }:<>f__AnonymousType104`5) [Set-CsTenantFederationConfiguration], Exception + FullyQualifiedErrorId : ClientError,Microsoft.Teams.ConfigApi.Cmdlets.SetCsTenantFederationConfiguration
Is it necessary to do something first? We are following the documentation below:
https://learn.microsoft.com/en-us/microsoftteams/trusted-organizations-external-meetings-chat?tabs=organization-settings
TKS!
1 Reply
Sort By
- Andres-BohrenSteel Contributor
hi rrdrummond88
Do you have the "Global Admin" or "Teams Administrator" Role?
Does "Get-CsTenantFederationConfiguration" work?
Did you try this "Set-CsTenantFederationConfiguration -CustomizeFederation $True"?
Kind Regards
Andres