4,542 questions with Microsoft Exchange Online Management tags
Running Powershell Scripts Across Tenants using Az Automation and System-Assigned Managed Identity
I have some Exchange Online PS scripts that I'm running in my own tenant using system-assigned managed identity to avoid interactive and certificate based sign in. Is it possible to run those scripts in another tenant? Say, for example, a customer wants…
Remove-Mailbox '1293f525-fbb5-45fd-8323-57902d7a2e46' -PermanentlyDelete
Hello Every one, When i try to run the command Remove-Mailbox '1293f525-fbb5-45fd-8323-57902d7a2e46' -PermanentlyDelete, I'm getting the below error can someone suggest me how to remove the holds. Please remove the holds before trying to delete.…
access to licenses
Hi All i want to provide few users read access to Microsoft 365 Admin Center Licenses. i.e when users login to the below url, they should be able to view licenses without making any changes. please guide…
Unauthorized when using Add-DistributionGroupMember to add user to Exchange managed Distribution
I followed the steps in this article https://learn.microsoft.com/en-us/powershell/exchange/connect-exo-powershell-managed-identity?view=exchange-ps&WT.mc_id=M365-MVP-9501 to use my Azure Automation System managed identity to connect to ExchangeOnline…
Get-PhishSimOverridePolicy, If include -ErrorAction, the command fails.
Hi All, Module tested: ExchangeOnlineManagement 3.6.0 My role in testing environment: Global Admin Command: $Policyname = 'PhishSimOverridePolicy' $Phisimpolicy = Get-PhishSimOverridePolicy -Identity $Policyname -ErrorAction SilentlyContinue The…
exchange online migration
So have Two office 365 tenants - that have to migrate, so it ends up in already existance of company-b.com Company/tenant = @company-a.com Company/tenant = @company-b.com So all company-a mailboxes must be migrated to company-b. What is the best way…
Decommission Exchange Server in Cross-Forest AD migration (mailboxes in Exchange Online)
I am currently working in an environment where we are migrating from Forest A to Forest B. The purpose of this migration is to transition to a new domain, and using the rendom tool is not an option. Current Environment: Mailboxes: Previously hosted on…
How to export Distribution List & its nested Distribution Lists' members to CSV file
Hello, We want to export all members of one large distribution list and its nested distribution lists. How can we do that? Regards, Raj
Validate a Powershell command
Dear Team, Please validate below PowerShell command and explain it with a kb article. Command : Test-OAuthConnectivity -UserPrincipalName "john.dave@contoso.com"
Help with Microsoft Defender Quarantine - Allowing Secure Emails After Review
Hi everyone, I’m having trouble with Microsoft Defender for Office 365, specifically related to releasing a secure email from quarantine. The email has been identified as safe, but it's still being blocked. Here are the steps I’ve already taken to…
Change Accepted Domain from Internal Relay to Authoritative
Hi! I have inherited a settings where our default domain is set to Internal Relay. With this settings Office365 doesn't reject unknown recipients and we get a loop in our Hybrid environment. All our mailboxes are moved to O365 but we still have Exchange…
Exchange Conference room resource declines meeting about 10 minutes after the meeting starts and is removed from the resource calendar allowing meetings to be booked over each other.
We are scheduling a conference room as the location for a meeting through my calendar with another user to test. The room accepts the meeting and then appears on both recipients calendars along with the rooms calendar. The issue we are experiencing is…
Powershell script taking too long to export results to .csv
I have a script that works perfectly until it comes to exporting the csv file. I have tried the script with a sample batch of data (50) and it runs without any issue. However, I have over 70,000 objects in the source data and even breaking it down to…
One Azure VM terminal server user account cannot connect with Outlook 365 desktop app
Reposting here after asked to move to this forum... We have an Azure virtual machine terminal server running MS Datacenter 2016. Users log in via RDP with their Microsoft Azure accounts. They have E3 licenses. Recently, a single user started having…
Calendar sharing with external organization
Hello, Because of some questions in our organization I'm looking in calendar sharing with other organizations. Currently we have setup a relationship with some other organizations, where limited information is shared (time only). For a group of users…
Blog about Rule creation for emails you are in the BCC to move to other folder
Have you faced a scenario where you want to move an email you are in the BCC to specific folder but such rule does not exist out of the box, here you are the steps to do so: Read Full Blog
SSRS email basic authentication replacement
Hi, For sending emails from our SSRS environment we currently use basic authentication to connect SSRS to our Office 365 environment, with this being deprecated in the coming months does anyone have the new settings that will be needed to allow us…
Remove Notes in Contact Section of Teams
I am an IT admin. I have a user who just added Teams but when he selects his profile, under the Contact information tab, there is a Notes section that has a bunch of information that needs to be removed. Upon looking in all cloud admin portals (including…
Can't send email to my "Shared Mailbox" from outside my organization?
I got a report from a department that "senders" from outside my organization can not send email to a shared mailbox. The outside user are receiving a bounce back 550 5.7.133 error message. After logging into the Exchange Admin Center >…
User with Global Administrator and Compliance Administrator role is unable to export ediscovery result to PST file
Hi, One of our users has global administrator and compliance administrator permissions. When running an eDiscovery she's able to get results to show up, but when attempting to export the results the following error comes up: You don't have export…