Hi,
I need to retreive a secret from a Azure Keyvault in a business rule.
I have a powershell script that works if i run a external command. But it fails if I run then same script in the "integrated" powershell environment.
The start script are as follows
try
{
import-module az.keyvault
Connect-AzAccount -Identity
}
catch {
$context.logmessage($.Exception,"Error")
throw $.Exception
}
When running it fails with:
Unable to acquire token for tenant 'organizations' with error 'Entry point was not found.'
Entry point was not found. Stack trace: at <ScriptBlock>, <No file>: line 20
Any sugestion?
Kind regards
Reidar Dick-Henriksen