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

Configure Windows Machines to be associated with a Data Collection Rule or a Data Collection Endpoint: Missing Image Offer #1284

Open
vdias opened this issue Feb 21, 2024 · 1 comment

Comments

@vdias
Copy link

vdias commented Feb 21, 2024

ISSUE DESCRIPTION:
Trying to configure AMA using built-in-policies as recommended on official documentation.
But VM's image offer not included on built-in-policy.

Policy Affected:
https://raw.githubusercontent.com/Azure/azure-policy/70604927187568437f106d66ca47331e88e5aac7/built-in-policies/policyDefinitions/Monitoring/AzureMonitor_DCRA_Windows_Deploy.json

Policy:
 'allOf': [
                          {
                            'field': 'Microsoft.Compute/imagePublisher',
                            'equals': 'MicrosoftSQLServer'
                          },
                          {
                            'anyOf': [
                              {
                                'field': 'Microsoft.Compute/imageOffer',
                                'like': '*-WS2016'
                              },
                              {
                                'field': 'Microsoft.Compute/imageOffer',
                                'like': '*-WS2016-BYOL'
                              },
                              {
                                'field': 'Microsoft.Compute/imageOffer',
                                'like': '*-WS2012R2'
                              },
                              {
                                'field': 'Microsoft.Compute/imageOffer',
                                'like': '*-WS2012R2-BYOL'
                              }

VM Affected:

Image publisher  :   microsoftsqlserver
Image offer      :   sql2022-ws2022
Image plan       :   standard-gen2
@vdias
Copy link
Author

vdias commented Feb 26, 2024

Any updates on this one??? Open Microsoft case on azure and opened this issue here... but no update on both ways... quite disappointing...

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

1 participant