Browsed by
Category: Microsoft 365

Manage Calendar Permissions in Office 365 Using PowerShell

Manage Calendar Permissions in Office 365 Using PowerShell

As companies everywhere started working remotely, calendar sharing has become incredibly useful and vital in boosting the efficiency and productivity of the organization. It keeps you informed about users’ daily activities and know what they’re up to. Setting up calendar permissions across the organization made everything more efficient than before. But the question is, are you making the most of your calendar?   If not, you’re missing out on the major part! You’ll miss out on what everyone is doing,…

Read More Read More

Manage Orphan groups in ease with Group Ownership Governance Policy

Manage Orphan groups in ease with Group Ownership Governance Policy

Managing the Office 365 groups and Teams has always been a painstaking task. What if there is no one to manage them? If Microsoft Teams owner left the company or the owner’s account was deleted or disabled, it becomes an ownerless team. These are called Orphaned Teams/Groups. Then, how will you manage ownerless groups effectively?  No Owner, No Management:  An ownerless group can function, and members can still collaborate, but the lack of an owner means that:  No one will be responsible…

Read More Read More

Get All Public Folders and Permissions using PowerShell  

Get All Public Folders and Permissions using PowerShell  

Public folders are used to organize and share information with people inside the organization. Users can create public folders and share them with other users by assigning permission. This blog provides PowerShell code examples to list all public folders and get the permission applied to them.   You must connect to Exchange Online PowerShell using the EXO V2 module before using the public folder PowerShell cmdlets.   Public Folders Report:   To list all the public folders in your organization,…

Read More Read More

Exchange Online: List All Mailboxes User Has Access Using PowerShell

Exchange Online: List All Mailboxes User Has Access Using PowerShell

Office 365 has one of the most beneficial features as delegating mailboxes. You can delegate a mailbox to another user to manage their mailboxes to ease the work balance. While granting delegate permissions is much more direct. You may encounter difficulty in getting the mailboxes user has access to because this does not have an immediate means of working on it.  And this is quite intricate to work on too! So, admins tend not to work on this side. To make it…

Read More Read More

Get Mailbox Details in Microsoft 365 using PowerShell 

Get Mailbox Details in Microsoft 365 using PowerShell 

This blog will help you get mailbox info with Get-Mailbox PowerShell cmdlets. Also, we have included examples to retrieve mailboxes’ properties. Let’s dive in!  You must connect to Exchange Online PowerShell to use EXO PowerShell cmdlets.  Get All Exchange Online Mailboxes:  To list all the mailboxes, run the Get-Mailbox cmdlet after creating the Exchange Online PowerShell session.  Get-Mailbox –ResultSize Unlimited  Get Mailbox Details using PowerShell: To view all properties of a mailbox, you can run the Get-Mailbox cmdlet with a…

Read More Read More

Connect-MgGraph (Microsoft Graph) 

Connect-MgGraph (Microsoft Graph) 

The Connect-MgGraph cmdlet is used to connect to Microsoft Graph PowerShell. You must install Microsoft Graph PowerShell SDK to use this cmdlet. Else, you will receive the error: “The term ‘Connect-MgGraph’ is not recognized as the name of a cmdlet, function, script file, or operable Program” Syntax:  Connect-MgGraph       [-Scopes] <string []>]       [-TenantId] <string>]       [-ForceRefresh]      [-ClientId <string>]       [-ContextScope {Process | CurrentUser}]       [-Environment <string>]      [-UseDeviceAuthentication]       [-ClientTimeout <double>]       [-Break]       [<CommonParameters>]    Connect-MgGraph      …

Read More Read More

Connect to Microsoft Graph PowerShell 

Connect to Microsoft Graph PowerShell 

We all know that Microsoft is deprecating the Azure AD PowerShell module and MS Online module in 2022. So, admins need to migrate to either Microsoft Graph PowerShell SDK or Microsoft Graph API.  This blog will guide you on the following things.  Download and install the Microsoft Graph PowerShell module  Connect to Microsoft Graph PowerShell  PowerShell script to automatically install and connect to MS Graph (Recommended)  Microsoft Graph PowerShell commands  Migrate scripts from Azure AD PowerShell to Microsoft Graph  Update…

Read More Read More

Find Number of Emails Sent and Received by User in Office 365

Find Number of Emails Sent and Received by User in Office 365

As a Microsoft 365 admin, you must track users’ email activity to ensure secure communication. If you ever wonder how to find the number of emails sent and received by an individual mailbox, I can help you with the simple PowerShell cmdlets.  Most admins use ‘Get-MailTrafficReport’ and ‘Get-MailTrafficTopReport’ to identify per user mail traffic statistics. Due to Microsoft’s recent deprecation, these cmdlets will not work anymore. So, admins need to find the alternative cmdlet for ‘Get-MailTrafficReport’.  How to Get Office 365…

Read More Read More

Export Office 365 Nested Distribution Group Members using PowerShell

Export Office 365 Nested Distribution Group Members using PowerShell

A Distribution Group is used to send emails to multiple recipients at once (both internal and external users) that are particularly significant for providing support to users. Efficiently adding members to the Distribution group is crucial to maximizing productivity.    Managing more efficiently the distribution groups comes with the use of nested distribution groups. In this blog let me guide you through to know what are nested distribution groups, where they can be used, and how to export nested distribution…

Read More Read More

How to Add Bulk Users to Microsoft Teams 

How to Add Bulk Users to Microsoft Teams 

Recently I came across multiple technical forums with the same question “How to add bulk members to teams through PowerShell?”. I thought I’d help with this by writing a script. Managing Microsoft Teams using PowerShell is a simple and effective way. So, Let’s dive in.    How to Add Bulk Users to Teams Group using PowerShell:  The PowerShell cmdlet Add-TeamUser adds a member to the team. But you can’t use it directly for adding members in bulk. So, you need…

Read More Read More