"PublicAccessNotPermitted" with New-GuestConfigurationPolicy

Open
#295 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, powershell
Domain
cloud, security

Research direction

Start by reviewing source/Public/New-GuestConfigurationPolicy.ps1 around line 287 and trace how the file is fetched during policy creation. Confirm how authentication is handled for a storage account with public access disabled; done means creating a Guest Configuration policy no longer requires public storage access.

Written by the indexing model from the issue text.

Description

I am getting "Invoke-WebRequest: PublicAccessNotPermittedPublic access is not permitted on this storage account." when trying to create a new Azure Machine Configuration policy, it doesnt seem right that it requires that the Storage Account must be public?

Reviewing the code, I dont see any authentication parameters on the code that grabs the file?
https://github.com/Azure/GuestConfiguration/blob/80dd21616cf5553851193ae6d30e6f15c3b6a962/source/Public/New-GuestConfigurationPolicy.ps1#L287

Dominant language
PowerShell
Stars
8
Forks
13
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/GuestConfiguration

All issues in Azure/GuestConfiguration

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.