How to filter VMs based on multiple values of same Tag name in maintenance configuration in AUM?

R Singh 0 Reputation points
2024-10-09T19:51:31.54+00:00

According to https://learn.microsoft.com/en-us/rest/api/maintenance/configuration-assignments-for-subscriptions/create-or-update?view=rest-maintenance-2023-09-01-preview&tabs=HTTP I should be able to filter VMs using multiple values for the same tag:

User's image

But I tried using PUT request via 'api-version=2023-09-01-preview' as well as using the Azure portal, it doesn't work:

Screenshot 2024-10-10 084354

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
317 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Podila 195 Reputation points Microsoft Vendor
    2024-10-30T06:03:13.9+00:00

    Hi @R Singh
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here. 

    There might be other factors that are causing the issue. Here are some things you can try to troubleshoot the issue: 

    Check if the tag values are correct and match the values of the tags that are assigned to the VMs. 

    Make sure that the tag values are separated by a comma and there are no spaces between them. 

    Check if the VMs are properly tagged with the specified tags and values. 

    Verify that you have the necessary permissions to create or update configuration assignments for subscriptions. 

    Try using a different API version or a different method to create or update configuration assignments. 

    Check the Azure portal for any error messages or notifications that might provide more information about the issue. 

    If you have any further queries, do let us know  

    ---------------------------------------------------------------------------------------------------------  

     If the answer is helpful, please click "Accept Answer" and "Upvote it"


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.