PowerShell functions are getting the following warning when run:
WARNING: Upcoming breaking changes in the cmdlet 'Get-AzAccessToken' :
The Token property of the output type will be changed from String to SecureString. Add the [-AsSecureString] switch to avoid the impact of this upcoming breaking change.
The change is expected to take effect in Az version : '13.0.0'
The change is expected to take effect in Az.Accounts version : '4.0.0'
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.
🛠️ Solution
Update the private Invoke-Rest command based on the guidance to suppress the warning.
⚠️ Problem
PowerShell functions are getting the following warning when run:
🛠️ Solution
Update the private Invoke-Rest command based on the guidance to suppress the warning.
🙋♀️ Ask for the community
We could use your help: