Intune Management Extension - Script security advice

Copper Contributor

I need to deploy a PowerShell script via Intune Management Extension that uploads output to blob storage. Using a storage key is the easiest way to authenticate but the key would be displayed in plain text in the IME log file. What is the best method to secure/obscure the key, or what is a better method to securely authenticate to the storage account to upload the output?

1 Reply
Hi,

Just maybe a stupid "thought"
You could convert the powershell script to an exe file and deploy it as an win32 app?

https://call4cloud.nl/2021/04/powershell-the-killer-queen/