powershell-intune-samples
powershell-intune-samples copied to clipboard
Invoke_DeviceAction_Set.ps1 not working Authorization Access in powershell 7
Hi, i write again with other issue in this version powershell 7 and Windows 11 (Authorization Access Token is null, please re-run authentication...) In version PSVersion 5.1.22000.832 i have not problem. Thank you
Edition Windows 11 Pro
Version 21H2
Installed on 19.07.2022
OS build 22000.978
Experience Windows Feature Experience Pack 1000.22000.978.0
$PSVersionTable
Name Value
---- -----
PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0