Invoke-ASCmd : Authentication failed: User ID and Password are required when user interface is not available
问题 I am trying to refresh credentials of an (already)deployed Tabular Model via CICD using Azure DevOps. Making use of Invoke-ASCmd in PowerShell to refresh the credentials. The script works fine from local when I provide the Tenant ID, App ID and the Key. However it fails when I run it from Azure Devops with error - User ID and Password are required when user interface is not available. Here is the script: $azureTenantId= "TenantId" $azurePassword = ConvertTo-SecureString "Key" -AsPlainText