liprec / vsts-release-aas

Repository for my Analysis Service Azure pipelines tasks related to Azure Analysis Service or Power BI Premium
Other
27 stars 28 forks source link

TMSL Script error #90

Closed TrailRunner23 closed 2 years ago

TrailRunner23 commented 2 years ago

Hi, I am getting this error, ##[error] System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression.

This is using task TMSL Script in Azure DevOps.

Can you maybe assist.

liprec commented 2 years ago

Can you share the pipeline logging with the variable System.Debug set to true?

TrailRunner23 commented 2 years ago

log.txt

Please find attached the log of the last run with the error

liprec commented 2 years ago

Thanks for the logging. It seems that getting an access token with the credentials of the service connection is raising the error.

Can you validate that the service connection is able to connect to Azure?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.