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

TeamsChannelTab : Get-M365DSCExportContentForResource cannot call a null expression #4595

Open
gitbpotalan opened this issue Apr 24, 2024 · 1 comment

Comments

@gitbpotalan
Copy link

Description of the issue

Exporting Microsoft 365 configuration for Components: TeamsChannelTab
There is a newer version of the 'Microsoft365DSC' module available on the gallery.
To update the module and it's dependencies, run the following command:
Update-M365DSCModule

Authentication methods specified:

  • Service Principal with Certificate Thumbprint

Connecting to {MicrosoftTeams}...

[1/1] Extracting [
TeamsChannelTab
] using {
CertificateThumbprint
}...

|---[1/1250] xxx
    |---[1/1] xxx
        |---[1/2] xxx


|---[2/2] xxx

|---[2/1250] xxx
|---[1/1] xxx
|---[1/3] xxx

|---[2/3] xxx
PS>Erreur de terminaison (Get-M365DSCExportContentForResource) : « Impossible d’appeler une méthode dans une expression Null. »

⌛ Export took {
46 seconds
}

Microsoft 365 DSC Version

1.24.417.1

Which workloads are affected

Teams

The DSC configuration

Export-M365DSCConfiguration -CertificateThumbprint $cert.Thumbprint -TenantId $TenantId -ApplicationId $ApplicationId -Path "c:\temp\" -FileName "file.ps1" -Components TeamsChannelTab

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

OsName               : Microsoft Windows 10 Entreprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64 bits
WindowsVersion       : 2009
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : fr-FR
OsMuiLanguages       : {fr-FR, en-US}

Key   : PSVersion
Value : 5.1.19041.4291
Name  : PSVersion

Key   : PSEdition
Value : Desktop
Name  : PSEdition

Key   : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0...}
Name  : PSCompatibleVersions

Key   : BuildVersion
Value : 10.0.19041.4291
Name  : BuildVersion

Key   : CLRVersion
Value : 4.0.30319.42000
Name  : CLRVersion

Key   : WSManStackVersion
Value : 3.0
Name  : WSManStackVersion

Key   : PSRemotingProtocolVersion
Value : 2.3
Name  : PSRemotingProtocolVersion

Key   : SerializationVersion
Value : 1.1.0.1
Name  : SerializationVersion
@FabienTschanz
Copy link
Collaborator

@gitbpotalan Does the issue still occur? I wasn't able to reproduce the issue. If it still occurs, please let's us know how the tab that's failing is different from the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants