Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Jan 5, 2023
1 parent e923fb1 commit a0191ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* AADAdministrativeUnit
* Marks DisplayName as a mandatory key and removed the visibility parameter from being evaluated since it is always returned as null.
FIXES [#2704](https://github.com/microsoft/Microsoft365DSC/issues/2704)
* AADConditionalAccessPolicy
* Removed the extra Microsoft Graph profile switching call which was causing performance issue.
FIXEX [#2688](https://github.com/microsoft/Microsoft365DSC/issues/2688)

# 1.23.104.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ function Get-TargetResource
-InboundParameters $PSBoundParameters `
-ProfileName 'beta'

Select-MgProfile -Name 'beta'

#Ensure the proper dependencies are installed in the current environment.
Confirm-M365DSCDependencies

Expand Down Expand Up @@ -1644,8 +1642,6 @@ function Export-TargetResource
-InboundParameters $PSBoundParameters `
-ProfileName 'beta'

Select-MgProfile -Name 'beta'

try
{
[array] $Policies = Get-MgIdentityConditionalAccessPolicy -Filter $Filter -All:$true -ErrorAction Stop
Expand Down

0 comments on commit a0191ba

Please sign in to comment.