{"id":6245,"date":"2022-10-14T08:29:26","date_gmt":"2022-10-14T08:29:26","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6245"},"modified":"2022-10-14T09:49:58","modified_gmt":"2022-10-14T09:49:58","slug":"azure-analytics-workspace-purge","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge","title":{"rendered":"Azure Analytics Workspace Purge"},"content":{"rendered":"<p><strong>Drop the Retention Period Down under 30 days<\/strong><\/p><p>az monitor log-analytics workspace table update &#8211;subscription %SubscriptionID% &#8211;resource-group %resourcegroup% &#8211;workspace-name %workspacename% &#8211;name AzureDiagnostics &#8211;retention-time 4 &#8211;total-retention-time 4<\/p><ol><li>Try via here <a href=\"https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0\">https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0<\/a><br \/><br \/>Give yourself the <strong>Data Purger Role for the workspace<\/strong><\/li><\/ol><p>Enter <strong>resourceGroupName<\/strong> \\ Choose Correct <strong>Subscription ID<\/strong> \\ <strong>workspaceName<\/strong><\/p><div class=\"column is-5 param-value field-body margin-top-none align-self-center\"><div>Enter the below in Body<\/div><\/div><p><span class=\"hljs-attribute\">&#8220;table&#8221;: &#8220;AzureDiagnostics&#8221;,<br \/>&#8220;filters&#8221;: [<br \/>{<br \/>&#8220;column&#8221;: &#8220;TimeGenerated&#8221;,<br \/>&#8220;operator&#8221;: &#8220;&gt;&#8221;,<br \/>&#8220;value&#8221;: &#8220;2019-01-29T19:00:00.000&#8221;<br \/>}<br \/>]<\/span><\/p><p>Click Run\u00a0<\/p><p>2. Powershell<br \/>Install-Module -Name Az.Accounts<\/p><p>[pastacode lang=&#8221;powershell&#8221; manual=&#8221;Connect-AzAccount%0A%0A%24subscriptionId%20%3D%20%22xxxxxxxxxxx%22%0A%23resourcegroup%0A%24rg%20%3D%20%22defaultresourcegroup-eau%22%0A%23workspace%0A%24ws%20%3D%20%22DefaultWorkspace-8402228f-822d-47aa-8552-4133449afe5d-EAU%22%0A%0A%24token%20%3D%20Get-AzAccessToken%20-TenantId%20%24tenantId%20-ErrorAction%20Stop%0A%0A%23POST%20https%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%24subscriptionId%2FresourceGroups%2F%24rg%2Fproviders%2FMicrosoft.OperationalInsights%2Fworkspaces%2F%24ws%2Fpurge%3Fapi-version%3D2020-08-01%20&#8217;Content-%0A%24URI%20%3D%20%22https%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%24%7BsubscriptionId%7D%2FresourceGroups%2F%24%7Brg%7D%2Fproviders%2F%20Microsoft.OperationalInsights%2Fworkspaces%2F%24%7Bws%7D%2Fpurge%3Fapi-version%3D2015-03-20%22%0A%0A%23%20Build%20the%20authorization%20header%20JSON%20object%0A%24authHeader%20%3D%20%40%7B%0A&#8217;Content-Type&#8217;%3D&#8217;application%2Fjson&#8217;%0A&#8217;Authorization&#8217;%3D&#8217;Bearer%20%24(%24token.token)&#8217;%0A%7D%0A%0A%0A%24body%20%3D%20%40%22%0A%7B%0A%22table%22%3A%20%22AzureDiagnostics%22%2C%0A%22filters%22%3A%20%5B%0A%7B%0A%22column%22%3A%20%22TimeGenerated%22%2C%0A%22operator%22%3A%20%22%3E%22%2C%0A%22value%22%3A%20%222019-01-29T19%3A00%3A00.000%22%0A%7D%0A%5D%0A%7D%0A%22%40%0A%0A%0A%0A%0A%0A%23%20Invoke%20the%20REST%20API%20to%20purge%20the%20data%0A%24purgeID%3DInvoke-RestMethod%20-Uri%20%24URI%20-Method%20POST%20-Headers%20%24authHeader%20-Body%20%24body%0A%23%20Write%20the%20purge%20ID%0AWrite-Host%20%24purgeID.operationId%20-ForegroundColor%20Green%0A%23%23%23%23%20END%20PURGE%20DATA%20%23%23%23%23&#8243; message=&#8221;&#8221; highlight=&#8221;&#8221; provider=&#8221;manual&#8221;\/]<\/p>","protected":false},"excerpt":{"rendered":"<p>Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update &#8211;subscription %SubscriptionID% &#8211;resource-group %resourcegroup% &#8211;workspace-name %workspacename% &#8211;name AzureDiagnostics &#8211;retention-time 4 &#8211;total-retention-time 4Try via here [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4030,1464],"class_list":["post-6245","post","type-post","status-publish","format-standard","hentry","category-research","tag-analytics-workspace-purge","tag-azure"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body&quot;table&quot;: &quot;AzureDiagnostics&quot;,&quot;filters&quot;: [{&quot;column&quot;: &quot;TimeGenerated&quot;,&quot;operator&quot;: &quot;&gt;&quot;,&quot;value&quot;: &quot;2019-01-29T19:00:00.000&quot;}]Click Run 2. PowershellInstall-Module\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Azure Analytics Workspace Purge | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body&quot;table&quot;: &quot;AzureDiagnostics&quot;,&quot;filters&quot;: [{&quot;column&quot;: &quot;TimeGenerated&quot;,&quot;operator&quot;: &quot;&gt;&quot;,&quot;value&quot;: &quot;2019-01-29T19:00:00.000&quot;}]Click Run 2. PowershellInstall-Module\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-10-14T08:29:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-10-14T09:49:58+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Azure Analytics Workspace Purge | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body&quot;table&quot;: &quot;AzureDiagnostics&quot;,&quot;filters&quot;: [{&quot;column&quot;: &quot;TimeGenerated&quot;,&quot;operator&quot;: &quot;&gt;&quot;,&quot;value&quot;: &quot;2019-01-29T19:00:00.000&quot;}]Click Run 2. PowershellInstall-Module\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#article\",\"name\":\"Azure Analytics Workspace Purge | Welcome to Pariswells.com\",\"headline\":\"Azure Analytics Workspace Purge\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2022-10-14T08:29:26+00:00\",\"dateModified\":\"2022-10-14T09:49:58+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#webpage\"},\"articleSection\":\"Research, Analytics Workspace Purge, Azure\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#listItem\",\"name\":\"Azure Analytics Workspace Purge\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#listItem\",\"position\":3,\"name\":\"Azure Analytics Workspace Purge\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge\",\"name\":\"Azure Analytics Workspace Purge | Welcome to Pariswells.com\",\"description\":\"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\\\/\\\/learn.microsoft.com\\\/en-us\\\/rest\\\/api\\\/loganalytics\\\/workspace-purge\\\/purge?tabs=HTTP&tryIt=true&source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\\\ Choose Correct Subscription ID \\\\ workspaceNameEnter the below in Body\\\"table\\\": \\\"AzureDiagnostics\\\",\\\"filters\\\": [{\\\"column\\\": \\\"TimeGenerated\\\",\\\"operator\\\": \\\">\\\",\\\"value\\\": \\\"2019-01-29T19:00:00.000\\\"}]Click Run 2. PowershellInstall-Module\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/azure-analytics-workspace-purge#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2022-10-14T08:29:26+00:00\",\"dateModified\":\"2022-10-14T09:49:58+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Azure Analytics Workspace Purge | Welcome to Pariswells.com","description":"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&tryIt=true&source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body\"table\": \"AzureDiagnostics\",\"filters\": [{\"column\": \"TimeGenerated\",\"operator\": \">\",\"value\": \"2019-01-29T19:00:00.000\"}]Click Run 2. PowershellInstall-Module","canonical_url":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#article","name":"Azure Analytics Workspace Purge | Welcome to Pariswells.com","headline":"Azure Analytics Workspace Purge","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2022-10-14T08:29:26+00:00","dateModified":"2022-10-14T09:49:58+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#webpage"},"articleSection":"Research, Analytics Workspace Purge, Azure"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#listItem","name":"Azure Analytics Workspace Purge"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#listItem","position":3,"name":"Azure Analytics Workspace Purge","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#webpage","url":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge","name":"Azure Analytics Workspace Purge | Welcome to Pariswells.com","description":"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&tryIt=true&source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body\"table\": \"AzureDiagnostics\",\"filters\": [{\"column\": \"TimeGenerated\",\"operator\": \">\",\"value\": \"2019-01-29T19:00:00.000\"}]Click Run 2. PowershellInstall-Module","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2022-10-14T08:29:26+00:00","dateModified":"2022-10-14T09:49:58+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"Azure Analytics Workspace Purge | Welcome to Pariswells.com","og:description":"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body&quot;table&quot;: &quot;AzureDiagnostics&quot;,&quot;filters&quot;: [{&quot;column&quot;: &quot;TimeGenerated&quot;,&quot;operator&quot;: &quot;&gt;&quot;,&quot;value&quot;: &quot;2019-01-29T19:00:00.000&quot;}]Click Run 2. PowershellInstall-Module","og:url":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge","article:published_time":"2022-10-14T08:29:26+00:00","article:modified_time":"2022-10-14T09:49:58+00:00","twitter:card":"summary","twitter:title":"Azure Analytics Workspace Purge | Welcome to Pariswells.com","twitter:description":"Drop the Retention Period Down under 30 daysaz monitor log-analytics workspace table update --subscription %SubscriptionID% --resource-group %resourcegroup% --workspace-name %workspacename% --name AzureDiagnostics --retention-time 4 --total-retention-time 4Try via here https:\/\/learn.microsoft.com\/en-us\/rest\/api\/loganalytics\/workspace-purge\/purge?tabs=HTTP&amp;tryIt=true&amp;source=docs#code-try-0Give yourself the Data Purger Role for the workspaceEnter resourceGroupName \\ Choose Correct Subscription ID \\ workspaceNameEnter the below in Body&quot;table&quot;: &quot;AzureDiagnostics&quot;,&quot;filters&quot;: [{&quot;column&quot;: &quot;TimeGenerated&quot;,&quot;operator&quot;: &quot;&gt;&quot;,&quot;value&quot;: &quot;2019-01-29T19:00:00.000&quot;}]Click Run 2. PowershellInstall-Module"},"aioseo_meta_data":{"post_id":"6245","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-10-14 08:19:44","updated":"2022-10-14 09:49:59","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAzure Analytics Workspace Purge\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"Azure Analytics Workspace Purge","link":"https:\/\/pariswells.com\/blog\/research\/azure-analytics-workspace-purge"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6245"}],"version-history":[{"count":4,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6245\/revisions"}],"predecessor-version":[{"id":6251,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6245\/revisions\/6251"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}