Skip to content

Commit

Permalink
Merge pull request #3203 from NikCharlebois/Fixes-#3183
Browse files Browse the repository at this point in the history
FIXES #3183
  • Loading branch information
NikCharlebois authored Apr 21, 2023
2 parents 02b906f + c635e30 commit 98a177d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* SCSensitivityLabel
* Remove property Disabled from schema
FIXES [#3193](https://github.com/microsoft/Microsoft365DSC/issues/3193)
* TeamsTeam
* Fixes an error when trying to extract teams using a Service Principal.
FIXES [#3183](https://github.com/microsoft/Microsoft365DSC/issues/3183)
* DEPENDENCIES
* Updated DSCParser dependencies to version 1.3.0.7.
* Updated Microsoft.PowerApps.Administration.PowerShell tp version 2.0.160.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ function Export-TargetResource

try
{
if ($ConnectionMode -eq 'ServicePrincipal')
if ($ConnectionMode.StartsWith('ServicePrincipal'))
{
$organization = Get-M365DSCTenantDomain -ApplicationId $ApplicationId -TenantId $TenantId -CertificateThumbprint $CertificateThumbprint
}
Expand Down

0 comments on commit 98a177d

Please sign in to comment.