Skip to content
Tech Shizz Logo

An Engineers Blog

  • TechShizz
  • blog

Convert a Dynamic Districution Group to a Standard Distribution Group in Office 365

Posted on February 23, 2021 By rich No Comments on Convert a Dynamic Districution Group to a Standard Distribution Group in Office 365

As far as my research has taken me, I cannot see a way to convert a Dynamic group to a static one in office 365. To make the process easier, we can use PowerShell to duplicate the group then delete the old one.

$DynGroup = Get-DynamicDistributionGroup "All Staff"
$DynGroupMembers = Get-Recipient -RecipientPreviewFilter $DynGroup.RecipientFilter
New-DistributionGroup "All Staff"
$DynGroupMembers | foreach {Add-DistributionGroupMember "All Staff" –Member $_.Name}

Post navigation

Next Post: List all SMTP Addresses for all Mailboxes or Distribution Groups in Exchange ❯

Leave a Reply Cancel reply

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to our newsletter!

Recent Posts

  • How to Safely Use Public Wi-Fi without Compromising Your Security
  • How to implement a lightning-fast ransomware playbook
  • How to achieve defence in depth in your business
  • How to implement a SecOps team phishing response plan
  • How to block an Office 365 Sign-in correctly

Recent Comments

    Archives

    • July 2023
    • November 2022
    • July 2021
    • March 2021
    • February 2021

    Categories

    • Cyber Security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2023 .

    Theme: Oceanly News Dark by ScriptsTown