efridman
efridman
Hello. We're also affected by this issue in Release Management in VSTS, but we're using hosted agents (managed by Microsoft), so we cannot apply the workaround above. Right now this...
@kmkumaran The login cmdlet is run as part of the VSTS task, before our script starts executing, so we can't add this trace before it. Is there any other way...
@markcowl We get the same error when we try to call Get-AzureRmRoleAssignment in our VSTS release pipeline from an Azure PowerShell release task. This is running on a hosted agent...
@markcowl It looks like missing AAD permissions were the cause of our issue. Thanks.
@markcowl Yes, our problem did turn out to be that the SPN did not have permissions on AAD. Thanks.
@keeshuizer We actually did not check this all the way through, since we don't want to give the SPN permissions on AAD for other reasons. But permissions were missing and...