Azure devops and terraform errors

Copper Contributor

Error: retrieving Container "xxxx" (Account "xxxx" / Resource Group "xxx"): containers.Client#GetProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailure" Message="This request is not authorized to perform this operation.\nRequestId:62a85c92-901e-0021-12de-816608000000\nTime:2022-06-17T00:11:56.2063816Z"

 

 

I am encountering the above errors whenever I  terraform plan runs inside the pipeline. I can able to resolve it without automation like go to azure storage and then network blade change the toggle the public network access from disabled to enabled . In this case it works.but is there anyway I can automate it like adding code in pipeline to avoid the manual intervention.

 

1 Reply

@Bharath_Murugan 

 

What is the permission and role assignment?