locked
Get BlobContainer properties returns 403 error RRS feed

  • Question

  • Hello,

    One of my Azure Pipeline ran into the error when retrieving BlobContainer properties with terraform. The pipelines utilizes a service principle.

    2020-04-30T20:23:53.3361548Z Error: Error retrieving Container "sharedresources" (Account "streswestus2" / Resource Group "rg-westus2-shared"): 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:36fc8e6a-901e-00ea-3a2d-1f1e2a000000\nTime:2020-04-30T20:23:53.3065604Z"

    2020-04-30T20:23:53.3365130Z Error: Error retrieving Container "vmterraformstate" (Account "streswestus2" / Resource Group "rg-westus2-shared"): 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:98bf4ec9-001e-00ef-732d-1fea55000000\nTime:2020-04-30T20:23:53.3032836Z"

    2020-04-30T20:23:53.3367480Z Error: Error retrieving Container "logs" (Account "streswestus2" / Resource Group "rg-westus2-shared"): 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:747a80e1-701e-004a-332d-1fd14c000000\nTime:2020-04-30T20:23:53.3080008Z"

    2020-04-30T20:23:53.3378005Z Error: Error retrieving Container "sharedinfrastructurestate" (Account "streswestus2" / Resource Group "rg-westus2-shared"): 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:d4ae87cc-301e-0009-522d-1ffba5000000\nTime:2020-04-30T20:23:53.3048585Z"

    Can anyone help? Thanks!

    Thursday, April 30, 2020 8:51 PM

All replies

  • Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused

    403 error suggest that you are not authorized to make the request and check the credentails/keys, also check the Server Time and Date. 

    Based on the error message: This request is not authorized to perform blob overwrites.

    If the issue still persist, Please share the code and screenshot of the error message.

    Additional information: retrieving Blob Container properties with terraform

    Hope this helps! 

    Kindly let us know if the above helps or you need further assistance on this issue. 
    ------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    Tuesday, May 5, 2020 11:56 AM
  • Is there any update on the issue?

    If the suggested answer helped for your issue, do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.

    Wednesday, May 6, 2020 3:40 PM
  •  Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
    Thursday, May 14, 2020 7:55 AM