Solution: Proxy address conflict when adding an email address in Exchange Online


This proxy address conflict, duplicate email address, email assigned to multiple Exchange object's proxyaddresses or EmailAddresses is the issue plaguing me for a while. It affected in assigning Microsoft 365 licenses by group-based license, adding/removing mailboxes to a distribution group, and other places. Usually the error message says it can't process an email address because … Continue reading Solution: Proxy address conflict when adding an email address in Exchange Online

How to view custom attributes sync’d from On-premises AD in PowerShell wit Graph Module?


There are easy commands to view custom/extended attributes of a user account in MSOL and AzureAD PowerShell modules. But there is none available in PowerShell Graph module. I found a way to see all user attributes with Graph. We have to make a graph call with Invoke-MgGraphRequest command. Here the command: Invoke-MgGraphRequest -Uri "beta/users/<UserId>" | … Continue reading How to view custom attributes sync’d from On-premises AD in PowerShell wit Graph Module?

How to store sent emails to Shared Mailbox’s sent items?


If multiple users are using a Shared Mailbox in their Outlook and they are sending/replying emails as the shared mailbox's email address, they might have noticed all the sent emails as shared mailbox is stored in user mailbox's Sent Items folder. This is the default behavior of Outlook. Why Microsoft? How will users know who … Continue reading How to store sent emails to Shared Mailbox’s sent items?

Azure Applications and App Registrations – Certificate & Secret Details


I had to write a script to monitor and alert before Application & App Registration certificate expire date. Here is the script that return CSV object with applicate registration name, certificate and expiry date. I used the returned obejct to monitor and alert about the certificate expiry details. <# Script Name: Get-ApplicationSecretandCertificateDetails.ps1 Return a collection … Continue reading Azure Applications and App Registrations – Certificate & Secret Details

Exchange: Get member list recursively from a DL and child DLs


Here is the script I wrote to gather all members from the DL and all the child DLs in it. Script requires you pass Exchange DL name/email and save the returning member list in a variable. Then you may generate a report (export to CSV) or do other things with it. <# The script accepts … Continue reading Exchange: Get member list recursively from a DL and child DLs

Exchange Online: How to delete meetings booked by employees from a conference room who no longer works?


In the days of conference rooms are all booked most of the days, some of the meetings are recurring meetings, we all struggle to find a conference room to our next meeting. Here is the catch. There is a (recurring) meeting hogging the conference room, but the meeting organizer left the company. I dealt with … Continue reading Exchange Online: How to delete meetings booked by employees from a conference room who no longer works?

Export User and User’s manager info to a CSV file


I had to export members of a group, and each member's manager into a CSV file to generate a specific report. I wrote a quick PowerShell command for On-Premises Active Directory and for Azure AD. Here is the PowerShell command for On-Premises Active Directory. Replace GroupName with your own security group name in the beginning … Continue reading Export User and User’s manager info to a CSV file

PowerShell – List all Domain Controllers


How to list all Domain controllers in PowerShell? There is no built-in cmdlet in the "Active Directory" module. I found the commands to list the domain controllers and wished to share them with others. So here they are. First command with a super simple concept. Just list all objects in "Domain Controllers" OU. Get-ADComputer -SearchBase … Continue reading PowerShell – List all Domain Controllers

Exchange: How to list memberOf groups of a user?


Since this blog exists to explain how to list "memberof" groups of a DL, I am blogging again for user. There is no easy command to list all groups the user is member of. There is a little workaround to get the information from PowerShell. User Member of which groups On-Premises Using AD cmdlets because … Continue reading Exchange: How to list memberOf groups of a user?

Exchange Mailbox is Full and Cannot delete emails – “You can’t permanently delete these items”


A Mailbox is full and reached its limit. The user is trying to empty out "Deleted Items" in Outlook, and it throws "You can't permanently delete these items". And, the user goes to "Recoverable Items" and tries to purge items in Outlook. They couldn't purge items either. Now what? It happens because SingleItemRecoveryEnabled for the … Continue reading Exchange Mailbox is Full and Cannot delete emails – “You can’t permanently delete these items”