You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to clone Teams settings.
I am using credentials-based auth as it is unclear whether certificate/thumbprint should or should not work.
It probably should according to the table https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/
but then there are posts here saying that not all functions are implemented, Graph API, etc.
I am mostly interested in TeamsFederationConfiguration workload.
In the source tenant I have some domains defined.
Destination is an empty tenant.
I am able to dump the source.
Compile MOF with dest credentails.
No errors on start-dsc.
I see config drift between tenants - which is correct:
Verbose logs showing the problem
<M365DSCEvent>
<ConfigurationDrift Source="MSFT_TeamsFederationConfiguration">
<ParametersNotInDesiredState>
<Param Name="AllowPublicUsers"><CurrentValue>True</CurrentValue><DesiredValue>False</DesiredValue></Param>
<Param Name="AllowTeamsConsumerInbound"><CurrentValue>True</CurrentValue><DesiredValue>False</DesiredValue></Param>
<Param Name="AllowedDomains"><CurrentValue>AllowAllKnownDomains</CurrentValue><DesiredValue>Domain=swisscom.ch,Domain=facebook.com,Domain=gmail.com</DesiredValue></Param>
</ParametersNotInDesiredState>
</ConfigurationDrift>
<DesiredValues>
<Param Name ="Identity">Global</Param>
<Param Name ="AllowFederatedUsers">True</Param>
<Param Name ="AllowedDomains">Domain=swisscom.ch,Domain=facebook.com,Domain=gmail.com</Param>
<Param Name ="BlockedDomains">$null</Param>
<Param Name ="AllowPublicUsers">False</Param>
<Param Name ="AllowTeamsConsumer">True</Param>
<Param Name ="AllowTeamsConsumerInbound">False</Param>
<Param Name ="Credential">System.Management.Automation.PSCredential</Param>
<Param Name ="Verbose">True</Param>
</DesiredValues>
</M365DSCEvent>
Problem
1
Nothing gets applied to the destination tenant.
Expected: external domains are added in the Teams Admin panel > Users > External access > Teams and Skype for Business users in external organizations ...
2
Does not work with credentials
Does not work with cert/thumbprint (Security Principal scenario)
4
I do not know if I have correct permissions set on Security Principal because
My question
Should that work? (with creds or certs / etc?)
Should Teams settings be applied?
The operating system the target node is running
OsName : Microsoft Windows Server 2022 Standard Evaluation
OsOperatingSystemSKU : 79
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 20348.1.amd64fre.fe_release.210507-1500
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version of the DSC module that was used ('dev' if using current dev branch)
This resource uses the Teams PowerShell to get and set the data. Recently the option to use a service principal was added to MS Teams. At the moment, service principal and credential based auth should be supported. I would go with credential based authentication (global admin) for this setting.
Trying to clone Teams settings.
I am using credentials-based auth as it is unclear whether certificate/thumbprint should or should not work.
It probably should according to the table https://microsoft365dsc.com/user-guide/get-started/authentication-and-permissions/
but then there are posts here saying that not all functions are implemented, Graph API, etc.
I am mostly interested in TeamsFederationConfiguration workload.
In the source tenant I have some domains defined.
Destination is an empty tenant.
I am able to dump the source.
Compile MOF with dest credentails.
No errors on start-dsc.
I see config drift between tenants - which is correct:
Verbose logs showing the problem
Problem
1
Nothing gets applied to the destination tenant.
Expected: external domains are added in the Teams Admin panel > Users > External access > Teams and Skype for Business users in external organizations ...
2
Does not work with credentials
Does not work with cert/thumbprint (Security Principal scenario)
4
I do not know if I have correct permissions set on Security Principal because
My question
Should that work? (with creds or certs / etc?)
Should Teams settings be applied?
The operating system the target node is running
Version of the DSC module that was used ('dev' if using current dev branch)
LCM
The text was updated successfully, but these errors were encountered: