Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

Exporting Teams configuration wrongly assumes tenant to be in Germany Cloud

Open SebastianGoers opened this issue 6 years ago • 6 comments

Details of the scenario you tried and the problem that is occurring

When running the tenant configuration export with a user account ending on ".de" the script wrongly assumes that the tenant is in the Germany cloud and thus it reports: WARNING: Microsoft Teams is not supported in the Germany Cloud

Changing the UPN to tenantname.onmicrosoft.com solves the issue.

Verbose logs showing the problem

Suggested solution to the issue

The DSC configuration that is used to reproduce the issue (as detailed as possible)

# insert configuration here

The operating system the target node is running

Version of the DSC module that was used ('dev' if using current dev branch)

SebastianGoers avatar Jul 17 '20 09:07 SebastianGoers

This seems like a bug in the MSCloudLoginAssistant dependency (https://GitHub.com/Microsoft/MSCloudLoginAssistant). I will investigate.

NikCharlebois avatar Jul 21 '20 11:07 NikCharlebois

As a workaround I changed the UPN to its onmicrosoft.com equivalent. This solves the issue as this UPN ends on .com .

SebastianGoers avatar Aug 12 '20 13:08 SebastianGoers

@NikCharlebois where are we with this Teams bug?

jeff29922 avatar Sep 03 '20 19:09 jeff29922

@jeff29922 now that we are using the new combined MicrosoftTeams module can you look at why the .onmicrosoft.com domain is still required? This may require us to use the -OverrideAdminDomain switch on the New-CSOnlineSession cmdlet.

NikCharlebois avatar Oct 01 '20 16:10 NikCharlebois

@NikCharlebois Ok I will grab this.

jeff29922 avatar Oct 15 '20 06:10 jeff29922

Fixed with recent releases of the MSCloudLoginAssistant module.

NikCharlebois avatar Dec 21 '21 15:12 NikCharlebois