Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform returning 403-AuthorizationFailure This request is not authorized to perform this operation. #239

Open
mmohamednazeer opened this issue Oct 3, 2024 · 2 comments
Assignees

Comments

@mmohamednazeer
Copy link

We are trying to access databricks workspace which has disabled public network access. But we are using service principal which is admin owner of the databricks. But the terraform init thorwing 403 unauthorised access issue, the error message as follows

Failed to get existing workspaces: containers.Client#ListBlobs: 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:0e888e4f-a01e-006a-5319-135fe5000000\nTime:2024-09-30T09:17:34.1931494Z"
│ 

Taks version : TerraformTaskV2@2

@mericstam mericstam self-assigned this Oct 7, 2024
@mericstam
Copy link
Collaborator

Hi, first of all, always try to use the the latest version of the task. i.e TerraformTaskV4@4.
But I don't think this will help in this matter. You should check the permissions on the App registration in Azure (if you are using Azure) for the SC.

Br
Manuel

@mmohamednazeer
Copy link
Author

I have updated the task version to TerraformTaskV4@4 and terraform version is v1.9.8.

Still I am facing the same issue..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants