Error: You do not have permission to view this directory or page

Copper Contributor

I am using AzureResourceManagerTemplateDeployment@3 task to deploy an azure ad b2c tenant using the release pipeline.
When I was manually running the ARM script using my local PowerShell then it was running smoothly and b2c tenant was getting created in resource group, but in release pipeline I got the error as below:


Now the thing is that I tried giving every related admin rights like subscription owner and ad b2c global administrator to the service principal which I am using in the pipeline but that didn't work. I wasn't able to resolve the issue. Could you please help me with this?


0 Replies