Concepts
Using Exchange admin center:
- Sign in to the Microsoft 365 admin center using your admin credentials.
- Navigate to the Exchange admin center.
- Select “public folders” from the navigation pane.
- Click on the plus (+) icon to add a new public folder.
- Provide a name and an optional email address for the public folder.
- Choose the parent folder where you want to create the new public folder.
- Configure the permissions for the folder if needed.
- Click save to create the public folder.
Using Exchange Online PowerShell:
- Launch the Exchange Online PowerShell.
- Connect to your Exchange Online environment using the Connect-ExchangeOnline cmdlet.
- To create a public folder, use the New-PublicFolder cmdlet with the desired parameters. For example:
New-PublicFolder -Name "Sales" -MailEnabled:$true -Path "\"
This command creates a public folder named “Sales” and makes it mail-enabled.
Managing Public Folders
Once you have created public folders, you may need to manage them by performing tasks like setting permissions, modifying properties, or deleting them. Let’s explore some common management tasks.
Setting Public Folder Permissions:
- In the Exchange admin center, navigate to the public folder you want to modify.
- Click on the pencil icon to edit the folder properties.
- Go to the “mailbox delegation” section to manage permissions.
- Add or remove users and assign appropriate permissions such as “Owner,” “Publishing Editor,” or “Reviewer.”
Modifying Public Folder Properties:
- In the Exchange admin center, navigate to the public folder you want to modify.
- Click on the pencil icon to edit the folder properties.
- Modify the desired properties such as name, email address, or storage quotas.
- Save the changes to update the public folder.
Deleting a Public Folder:
- In the Exchange admin center, navigate to the public folder you want to delete.
- Right-click on the folder and select “Delete” from the context menu.
- Confirm the deletion if prompted.
Managing Public Folders with PowerShell:
Using Exchange Online PowerShell provides a powerful way to manage public folders in bulk. Here are a few examples:
- Get a list of all public folders:
Get-PublicFolder
- Update a public folder’s properties:
Set-PublicFolder -Identity "\Sales" -Name "New Sales" -EmailAddress "sales@contoso.com"
- Remove a public folder:
Remove-PublicFolder -Identity "\Marketing"
Note: When managing public folders with PowerShell, ensure you have the necessary permissions and are familiar with the cmdlets to avoid unintended modifications.
Conclusion
Creating and managing public folders in Microsoft 365 Messaging is a vital task for administrators to facilitate collaboration and information sharing within an organization. Whether you prefer using the Exchange admin center or Exchange Online PowerShell, you now have the knowledge to create, set permissions, modify properties, and delete public folders efficiently.
Answer the Questions in Comment Section
Which PowerShell cmdlet is used to create a new public folder in Microsoft 365?
a) New-PublicFolder
b) New-MSOPublicFolder
c) New-MailPublicFolder
d) New-PublicFolderMailbox
Answer: c) New-MailPublicFolder
True or False: Public folders can only be created at the root level in Microsoft
Answer: False
How can you grant permissions to a user to manage a public folder in Microsoft 365? (Select all that apply)
a) Add the user as a member of the Public Folder Management role group.
b) Assign the user the Owner permission on the public folder.
c) Use the Add-PublicFolderClientPermission PowerShell cmdlet.
d) Share the public folder with the user’s mailbox.
Answer: a) Add the user as a member of the Public Folder Management role group.
Answer: c) Use the Add-PublicFolderClientPermission PowerShell cmdlet.
True or False: Public folders can be accessed from both Outlook and Outlook on the web (OWA).
Answer: True
Which PowerShell cmdlet is used to remove a public folder in Microsoft 365?
a) Remove-PublicFolder
b) Remove-MSOPublicFolder
c) Remove-MailPublicFolder
d) Remove-PublicFolderMailbox
Answer: a) Remove-PublicFolder
How can you restrict access to a public folder in Microsoft 365? (Select all that apply)
a) Set the default permission to None for all users.
b) Remove the “Default” and “Anonymous” permissions.
c) Enable mailbox-level public folder access control in Exchange Online.
d) Use the Set-MailPublicFolder cmdlet to configure restricted access.
Answer: a) Set the default permission to None for all users.
Answer: b) Remove the “Default” and “Anonymous” permissions.
Answer: d) Use the Set-MailPublicFolder cmdlet to configure restricted access.
True or False: You cannot create subfolders within a public folder in Microsoft
Answer: False
Which PowerShell cmdlet can be used to get a list of all public folders in Microsoft 365?
a) Get-PublicFolder
b) Get-MSOPublicFolder
c) Get-MailPublicFolder
d) Get-PublicFolderMailbox
Answer: a) Get-PublicFolder
How can you mail-enable a public folder in Microsoft 365? (Select all that apply)
a) Use the Enable-MailPublicFolder cmdlet.
b) Assign an email address to the public folder.
c) Use the Set-PublicFolder cmdlet to enable email functionality.
d) Configure the public folder’s properties in Exchange Online.
Answer: b) Assign an email address to the public folder.
Answer: c) Use the Set-PublicFolder cmdlet to enable email functionality.
True or False: Public folders can be accessed by external users in Microsoft
Answer: False
How do you configure a new public folder in Microsoft 365?
I’ve heard public folders are outdated. Is it still a good practice to use them?
Does anyone know how to manage public folder mailboxes?
Great blog post, really helped me understand public folders better.
Are there any size limitations for public folders?
How do you migrate public folders from Exchange 2013 to Exchange Online?
I appreciate the detailed steps on setting up public folders.
Can multiple users edit the same public folder item simultaneously?