Skip to content

Commit

Permalink
FIXES #3183
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Apr 21, 2023
1 parent 02b906f commit c635e30
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 c635e30

Please sign in to comment.