Closed archeedev closed 1 year ago
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.
Did you use the global admin account for that?
Yes GA on both sides.
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
3. 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