Is there a way to filter the view of discovered servers in Azure Migrate?

2024-03-21T20:01:08.0966667+00:00

The existing filters are only Appliance, Source, and Workload type. I need to filter for instance Column Operating system contains "Windows".

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
718 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 37,766 Reputation points Microsoft Employee
    2024-03-22T07:17:25.7533333+00:00

    Hello @AZ Smith, Duane T. (MSFC-IS70)[MITS II] Thank you for reaching out to us on Microsoft Q&A platform. Happy to help!

    From the description, I understand your need to filter for instance Column Operating system contains "Windows".

    Azure Migrate provides a limited set of filters for sorting and filtering discovered machines. However, you can use the Azure Migrate API to programmatically filter discovered machines based on specific criteria, such as the operating system.

    To filter discovered machines based on the operating system, you can use the following API call:

    GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/machines?api-version=2019-10-01-preview&$filter=properties.osType eq 'Windows'
    
    

    This API call retrieves a list of machines in the specified project that have an operating system type of Windows. You can modify the filter criteria to match your specific requirements.

    It's important to note that using the Azure Migrate API requires programming knowledge and experience. If you're not familiar with programming, you may want to consider working with a developer or consultant who can help you implement the necessary filters.

    Hope this answers your question. Please reply if you have any further questions!


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments