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

Automation Isn't allowing send files to Azure Storage #245

Open
NoahParkerAHEAD opened this issue Dec 16, 2024 · 3 comments
Open

Automation Isn't allowing send files to Azure Storage #245

NoahParkerAHEAD opened this issue Dec 16, 2024 · 3 comments

Comments

@NoahParkerAHEAD
Copy link

Set-AzStorageBlobContent : This request is not authorized to perform this operation. HTTP Status Code: 403 - HTTP Error Message: This request is not authorized to perform this operation. ErrorCode: AuthorizationFailure ErrorMessage: This request is not authorized to perform this operation. RequestId: 083b2101-a01e-0005-0ae1-449f71000000 Time: Mon, 02 Dec 2024 17:38:54 GMT At C:\usr\src\PSModules\AzureResourceInventory\AzureResourceInventory.psm1:342 char:17 + ... Set-AzStorageBlobContent -File $File -Container $StorageC ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Set-AzStorageBlobContent], StorageException + FullyQualifiedErrorId : StorageException,Microsoft.WindowsAzure.Commands.Storage.Blob.SetAzureBlobContentCommand

I gave the automation account reader at the MG and Storage Blob data contributor and contributor at the Storage Account Level.

@Claudio-Merola
Copy link
Collaborator

Hello,

Are you using the Runtime Environments or the traditional Environments?

What Powershell Version are you using?

@NoahParkerAHEAD
Copy link
Author

Runtime Environments ARI_3_5_9
Powershell 5.1
8 attached packages

@Claudio-Merola
Copy link
Collaborator

The container is already created?

What command line are you adding to the runbook?

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