You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug fixes, performance, and reliability improvements (#65)
* update role assignment collection logic
* Update pbit to match pwsh output
* Fix module version check
* Fix bug on tenants with no P2 licenses
* Fix warning on tenants with no AAD licenses
* Remove resource not found warnings
* Remove auth method registration warning
* Remove posh test gallery from cd pipeline
* Stop auto trigger of CD pipeline on preview branch
* Test break on error
* Add ScriptStackTrace to exception telemetry
* Add data to exception telemetry
* Remove old comments
* update ms graph batching and telemetry
* update mg calls to v1.0 and general clean up
* Add ordereddictionary param to all appinsight func
* Fix error when run as different user
* Move scopes definition to module variable
* Add comments and fix error retry
* Add warning to upgrade PowerShell version
* Remove WinPoSh warning until device comp support
* Additional telemetry for troubleshooting
* Add retry for Timeout exception
* Fix relative uri code path
* limit downloading membership of large groups
* Fix RequiredAssemblies on publish, find type error
* Update retry logic and progress bar text
* shorten progress bar activity text
* fix assignedPlans filter
* move zip assembly load from manifest to script
$ModuleFileList=$ModuleFileList-replace'\\net45\\','\!!!\'-replace'\\netcoreapp2.1\\','\net45\'-replace'\\!!!\\','\netcoreapp2.1\'# PowerShell Core fails to load assembly if net45 dll comes before netcoreapp2.1 dll in the FileList.
Copy file name to clipboardExpand all lines: src/AzureADAssessment.psm1
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,12 @@ param (
17
17
## Set Strict Mode for Module. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode
18
18
Set-StrictMode-Version 3.0
19
19
20
+
## Display Warning on old PowerShell versions. https://docs.microsoft.com/en-us/powershell/scripting/install/PowerShell-Support-Lifecycle#powershell-end-of-support-dates
21
+
# ToDo: Only Windows PowerShell can currently satify device compliance CA requirement. Look at adding Windows Broker (WAM) support to support device compliance on PowerShell 7.
22
+
# if ($PSVersionTable.PSVersion -lt [version]'7.0') {
23
+
# Write-Warning 'It is recommended to use this module with the latest version of PowerShell which can be downloaded here: https://aka.ms/install-powershell'
0 commit comments