Greetings!
I'm working on a Azure Analysis Service project. We have multiple models in there and we are maintaining our codes in Azure Devops Repos.
As of now, we are deploying our model to the server (both dev and production environment) manually through visual studio. Now we like to automate the deployment. So I searched for automation deployment through devops pipelines. Since we don't have any azure native plugin for the analysis service deployment, I went for an extension in marketplace and created an release pipeline with that.
For automation, I created an Service Principal for my project and used it as a Login Type. I configured the pipeline as per the requirement needed for the extension and created a release.
During the deployment, I ran into the following error.
System.Management.Automation.RunTimeException: Not able to fetch token for tenant Id my tenant id
I searched for solutions to resolve this but I couldn't find one. Please help me out to resolve this issue.
Things I tried out:
- Added the service principal to the owner role also in analysis service server
- Added the service principal to administrator role in my analysis service server
- Created a new secret for the service principal with validity for one year.
Thanks in advance.