{"id":6403,"date":"2022-11-25T23:21:15","date_gmt":"2022-11-25T23:21:15","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6403"},"modified":"2022-11-25T23:21:16","modified_gmt":"2022-11-25T23:21:16","slug":"bulk-remove-domain-from-users-in-365-upn-and-smtp","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp","title":{"rendered":"Bulk Remove Domain from users in 365 ( UPN and SMTP )"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Remove Domain from UPN<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Connect-MsolService\n$domain = \"domain.com\"\n$TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)?\n$msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})?\n#Remove UPN\n$msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(\"@\")&#91;0]+ \"@\" +$TenantDomain );}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Remove SMTP address<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Connect-ExchangeOnline\n$domain = \"domain.com\"\n$MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress -match \"$Domain\" -or $_.EmailAddresses -match \"$Domain\"} | select PrimarySmtpAddress,EmailAddresses,RecipientType,RecipientTypedetails | Sort-Object -Property RecipientType,RecipientTypedetails)?\n\nforeach ($Mailbox in $MailboxeswithDomain) {  \r\n    $Mailbox.EmailAddresses | Where-Object { ($_ -clike \"smtp*\") -and ($_ -like \"*@$domain\") } | \r\n\r\n    # Perform operation on each item\r\n    ForEach-Object {\r\n\r\n        # Remove the -WhatIf parameter after you tested and are sure to remove the secondary email addresses\r\n        Set-Mailbox $Mailbox.DistinguishedName -EmailAddresses @{remove = $_ } -WhatIf\r\n\r\n        # Write output\r\n        Write-Host \"Removing $_ from $Mailbox Mailbox\" -ForegroundColor Green\r\n    }\r\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remove Domain from UPN Remove SMTP address<\/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":[1206,2036,576,4098],"class_list":["post-6403","post","type-post","status-publish","format-standard","hentry","category-research","tag-1206","tag-bulk","tag-powershell","tag-upn"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Remove Domain from UPN Connect-MsolService $domain = &quot;domain.com&quot; $TenantDomain = @((Get-MsolDomain |?{$_.Name -match &#039;.onmicrosoft.com&#039; -and $_.Name -notmatch &#039;.mail.&#039;}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(&quot;@&quot;)[0]+ &quot;@&quot; +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = &quot;domain.com&quot; $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress\" \/>\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\/bulk-remove-domain-from-users-in-365-upn-and-smtp\" \/>\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=\"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Remove Domain from UPN Connect-MsolService $domain = &quot;domain.com&quot; $TenantDomain = @((Get-MsolDomain |?{$_.Name -match &#039;.onmicrosoft.com&#039; -and $_.Name -notmatch &#039;.mail.&#039;}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(&quot;@&quot;)[0]+ &quot;@&quot; +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = &quot;domain.com&quot; $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-11-25T23:21:15+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-11-25T23:21:16+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Remove Domain from UPN Connect-MsolService $domain = &quot;domain.com&quot; $TenantDomain = @((Get-MsolDomain |?{$_.Name -match &#039;.onmicrosoft.com&#039; -and $_.Name -notmatch &#039;.mail.&#039;}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(&quot;@&quot;)[0]+ &quot;@&quot; +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = &quot;domain.com&quot; $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress\" \/>\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\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#article\",\"name\":\"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com\",\"headline\":\"Bulk Remove Domain from users in 365 ( UPN and SMTP )\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2022-11-25T23:21:15+00:00\",\"dateModified\":\"2022-11-25T23:21:16+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage\"},\"articleSection\":\"Research, 365, bulk, powershell, upn\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#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\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#listItem\",\"name\":\"Bulk Remove Domain from users in 365 ( UPN and SMTP )\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#listItem\",\"position\":3,\"name\":\"Bulk Remove Domain from users in 365 ( UPN and SMTP )\",\"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\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#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\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp\",\"name\":\"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com\",\"description\":\"Remove Domain from UPN Connect-MsolService $domain = \\\"domain.com\\\" $TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(\\\"@\\\")[0]+ \\\"@\\\" +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = \\\"domain.com\\\" $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/bulk-remove-domain-from-users-in-365-upn-and-smtp#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2022-11-25T23:21:15+00:00\",\"dateModified\":\"2022-11-25T23:21:16+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":"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com","description":"Remove Domain from UPN Connect-MsolService $domain = \"domain.com\" $TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(\"@\")[0]+ \"@\" +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = \"domain.com\" $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress","canonical_url":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#article","name":"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com","headline":"Bulk Remove Domain from users in 365 ( UPN and SMTP )","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2022-11-25T23:21:15+00:00","dateModified":"2022-11-25T23:21:16+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage"},"articleSection":"Research, 365, bulk, powershell, upn"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#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\/bulk-remove-domain-from-users-in-365-upn-and-smtp#listItem","name":"Bulk Remove Domain from users in 365 ( UPN and SMTP )"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#listItem","position":3,"name":"Bulk Remove Domain from users in 365 ( UPN and SMTP )","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\/bulk-remove-domain-from-users-in-365-upn-and-smtp#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\/bulk-remove-domain-from-users-in-365-upn-and-smtp#webpage","url":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp","name":"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com","description":"Remove Domain from UPN Connect-MsolService $domain = \"domain.com\" $TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(\"@\")[0]+ \"@\" +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = \"domain.com\" $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2022-11-25T23:21:15+00:00","dateModified":"2022-11-25T23:21:16+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":"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com","og:description":"Remove Domain from UPN Connect-MsolService $domain = &quot;domain.com&quot; $TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(&quot;@&quot;)[0]+ &quot;@&quot; +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = &quot;domain.com&quot; $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress","og:url":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp","article:published_time":"2022-11-25T23:21:15+00:00","article:modified_time":"2022-11-25T23:21:16+00:00","twitter:card":"summary","twitter:title":"Bulk Remove Domain from users in 365 ( UPN and SMTP ) | Welcome to Pariswells.com","twitter:description":"Remove Domain from UPN Connect-MsolService $domain = &quot;domain.com&quot; $TenantDomain = @((Get-MsolDomain |?{$_.Name -match '.onmicrosoft.com' -and $_.Name -notmatch '.mail.'}).Name)? $msolUsersWithDomain = @(Get-MsolUser -All | ? {$_.UserPrincipalName -match $domain})? #Remove UPN $msolUsersWithDomain | % {Set-MsolUserPrincipalName -ObjectId $_.objectId -NewUserPrincipalName ($_.UserPrincipalName.Split(&quot;@&quot;)[0]+ &quot;@&quot; +$TenantDomain );} Remove SMTP address Connect-ExchangeOnline $domain = &quot;domain.com&quot; $MailboxeswithDomain = @(Get-Recipient -ResultSize Unlimited | where {$_.PrimarySmtpAddress"},"aioseo_meta_data":{"post_id":"6403","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-11-25 23:15:26","updated":"2022-11-25 23:22:55","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\tBulk Remove Domain from users in 365 ( UPN and SMTP )\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":"Bulk Remove Domain from users in 365 ( UPN and SMTP )","link":"https:\/\/pariswells.com\/blog\/research\/bulk-remove-domain-from-users-in-365-upn-and-smtp"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6403","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=6403"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6403\/revisions"}],"predecessor-version":[{"id":6404,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6403\/revisions\/6404"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}