Importing Saved Searches into your OMS workspaces

In my previous article, I have shown how to extract Saved Searches from your Azure OMS workspaces. Having that file in your hands, you can use the script below to import the results into another workspace.

First, get a hold of the script here. Also make sure you have all pre-requisites mentioned in the previous article.

When you first run it, you will be prompted for authentication:


If you have multiple tenants, you will be asked which tenant to use:

Then about the subscription:


Next, you should be prompted about the workspace you would like to target:


And finally, the file to be imported, which has been exported with the script in the previous post:


Once the script is done, you should see a new category in your workspace:


And that is it!

Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *