Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TeamsTenantNetworkSite: Provided type NetworkSiteType is not valid #3671

Closed
CraigHume opened this issue Sep 11, 2023 · 1 comment · Fixed by #3689 or #3702
Closed

TeamsTenantNetworkSite: Provided type NetworkSiteType is not valid #3671

CraigHume opened this issue Sep 11, 2023 · 1 comment · Fixed by #3689 or #3702
Labels
Bug Something isn't working Dependencies Pull requests that update a dependency file Teams V1.23.906.1 Version 1.23.906.1

Comments

@CraigHume
Copy link

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

getting "Provided type NetworkSiteType is not valid" for TeamsTenantNetworkSite. Connecting with certificate authentication. All other Teams components extract fine.

Appears to be a known issue with Teams powershell 5.5.0 (Aug 2023). See https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-release-notes

Verbose logs showing the problem

Suggested solution to the issue

Either specify dependency of Teams powershell 5.5.1. (Preview), which has a fix for this issue https://www.powershellgallery.com/packages/MicrosoftTeams/5.5.1-preview
Or
Use older July 2023 version 5.4.0

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

$components = @("TeamsTenantNetworkSite")
 $workload = "TEAMS"
Export-M365DSCConfiguration -Components $components -Path ($rootpath + "\" + $workload) -FileName $file -GenerateInfo $true -ApplicationId $ApplicationId -CertificateThumbprint $CertificateThumbprint -TenantId $TenantID

The operating system the target node is running

OsName : Microsoft Windows 11 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage : en-GB
OsMuiLanguages : {en-GB, en-US}

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

1.23.906.1

@andikrueger andikrueger added Bug Something isn't working Teams V1.23.906.1 Version 1.23.906.1 Dependencies Pull requests that update a dependency file labels Sep 11, 2023
@andikrueger
Copy link
Collaborator

M365DSC will be updated to the new Teams version as soon as there is an official release available.

/cc @NikCharlebois

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Dependencies Pull requests that update a dependency file Teams V1.23.906.1 Version 1.23.906.1
Projects
None yet
2 participants