A third-party server answers the 'Root Domain' call, and it should not be returning a 401 for Autodiscover calls. This caused Outlook to believe that it needed to authenticate, and as a result, it ended up prompting me after the cached credentials failed.
Outlook's Credential Prompts when access exchange online archives
A third-party server answers the 'Root Domain' call, and it should not be returning a 401 for Autodiscover calls. This caused Outlook to believe that it needed to authenticate, and as a result, it ended up prompting me after the cached credentials failed.
Add members to Teams without Welcome Messages
To DISABLE the welcome message, just use this parameter on the individual Teams or Unified Group " UnifiedGroupWelcomeMessageEnable"
You'd need to be connected to Exchange Online module via PowerShell for it to work.
Set-UnifiedGroup -Identity "Name of your Team or Group" -UnifiedGroupWelcomeMessageEnable:$false
Example -
Connect-MsolService : Exception of type 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown | 0x800488EE
But you find yourself with this unfamiliar, weird looking Error! 😣
Connect-MsolService : Exception of type
'Microsoft.Online.Administration.Automation.MicrosoftOnlineException' was thrown.
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Connect-MsolService], Mic
rosoftOnlineException
+ FullyQualifiedErrorId : 0x800488EE,Microsoft.Online.Administration.Automation.ConnectMsolService
You try to resolve the error by usual troubleshooting practices like below yet the server does not connect correctly. 😠
- Reboot the server
- Upgrade to the latest version for PowerShell
- Re-install PowerShell module
- Check a machine supports TLS 1.2
What else to to? I troubleshooted this myself successfully spending 45+ minutes myself quite recently when helping someone configure MFA for VPN Clients using NPS Server Extension. I found out this error 0x800488EE is indeed connected to the Sign-in-Assistant service. Yes, its been more than a decade since Microsoft launched this tiny little tool which used to be a 'must have' even for client machines to connect using Outlook and Lync (yes, this old).
You need to Uninstall and Re-install Microsoft Online Services Sign-In Assistant for IT Professionals RTW from below links. It comes in two variants, if the regular one does not work, you can install the beta version
- Microsoft Online Services Sign-In Assistant for IT Professionals RTW
- Microsoft Online Services Sign-In Assistant for IT Professionals BETA
Now, the connection works fine! 😊
If the PowerShell still does not connect, try to Restart the Online Services Sign-In Assistant service. To do this, follow these steps:
- Open Control Panel, click Administrative Tools, and then click Services.
- In the list of services, right-click Microsoft Online Services Sign-In Assistant, and then click Restart.
Federate a domain in Office 365 | Setting up Single Sign On

When you setup ADFS for your domain, you can use Single-Sign-On (SSO) for user authentication. It lets your users access corporate applications/resources like Office 365 with his/her network credentials. If they are using domain-joined computer, they sign-in automatically without having to provide user credentials at all. This magic happens after you federate the domain with Azure AD or Office 365. To do so, follow the below steps.
- On the Primary ADFS server, open an Administrator PowerShell window and import the MSOnline module
- Connect to your Azure AD Tenant
- Once you are connected to your Azure AD Tenant, let’s make sure your domain is currently recognized as a “Managed” domain.
Letting group owners manage synchronized DLs in single tenant multi exchange hybrid office 365 scenarios
What can you do in such situations? You want to delegate the group management to their owners but definitely don't want to give them any admin rights into Exchange. Below have couple suggestions, none of them are ideal. Each has its own merits and demerits:
1. Convert all groups to cloud-based groups. [Not Recommended]
2. Dedicate a resource to do in on the owner's behalf. [Better then cloud-based option]
3. Have group owners edit the memberships directly in the AD. - DSQuery
%systemroot%\system32\rundll32.exe dsquery.dll,OpenQueryWindow [Better than other two options, Recommended]
Cloud-based groups
Cloud accounts do not have this problem. Converting some groups to 'cloud only' complicates the environment because you can no longer keep AD as the source of group creation and management (remember, we are talking no write-back scenario). If you use some groups for more than just Exchange, e.g. for delegating special permissions in the local domain, you'll have a tough time keeping the two copies consistent (one on-prem and other in the cloud) now that cloud ones need to be updated manually or via a script.Dedicate a resource
Dedicate a team of resources to manage groups on the owner's behalf. It is not ideal but still better than managing cloud-based groups. It needs user education and awareness and they have to rely on the resource team for making changes. Some organizations will add this additional work of managing groups on the existing teams.Using DSQuery
DSquery is a built-in command line tool for Active Directory. It was introduced with Windows Server 2003 but is still available in modern Windows computers & servers. If you want to find a user quickly in a local AD domain from the command prompt, you can use this utility on any domain-joined PC even as a normal user. Of course, you can't change anything unless you have got some permissions assigned to your account. But hey, the group managers do have permissions over their groups, right? hell yes!Using this utility, you can have the group owners edit the memberships directly in the AD, which will sync up to Azure AD / O365 on the next AAD connect synchronization cycle.
The utility is fairly easy to use even by a non-IT person. Just enter the string I mention below in the "RUN" cmd (Windows + R) or Command Prompt. Admins can save a .bat file for the group managers on their Desktop to help them access this easily.
How to access it? Just open Run Command window, Enter the string below and press Enter
%systemroot%\system32\rundll32.exe dsquery.dll,OpenQueryWindow
Viola!
Caveat: The DSQuery utility will work only when the manager is in the corporate domain, or when connected to it via VPN/Direct Access.
I understand all the options are only workarounds only some of you may already be aware of them.
Avoid email delivery delays. Update your Office 365 MX Records| 451 4.4.62 Mail sent to the wrong Office 365 region. ATTR35

Microsoft is putting constraints on the MX record and smart host requirements Office 365. It only supports an MX record in the format "YourSmtpDomain-com.mail.protection.outlook.com." (notice mail.protection.Outlook.com!). It does NOT support any other, legacy entries for example, mail.messaging.microsoft.com. (notice Microsoft.com)
- For
each of your SMTP domains, including sub-domains, check your published MX
record to verify that it matches the record that Office
365 assigned only (like *. mail.protection.outlook.com
). The ‘*’ looks similar to your smtp domain. You can use NSLOOKUP, Resolve-DNSName, or third-party tools such as
Mxtoolbox.com.
- We
recommend that you have only a single MX record pointing to EOP. In some
cases. However, Office 365 already has extreme redundancy at every level,
and multiple MX records can actually make mail delivery less reliable in
this case.
- You
should check any services that route mail directly to
your Office 365 tenant. For example, if you use a third-party filtering
service, you should sign in to that service and verify the routing
destination that is provided to the service, which is known as a
"smart host."
- You
should also check any email-generating applications, servers,
or devices that are under your control that route mail
directly to Office 365 or that "SMTP-relay" through
Office 365 as unauthenticated mail. For more information, see attached
document.
- For
each smart-host configuration or send connector or
application SMTP server setting, you must use only the host record that Office
365 assigned to your tenant. i.e. MX record for your domain. E.g. YourSmtpDomain-com.mail.protection.outlook.com.
Office 365 Import Service - now upload PST Files directly to Office 365 Mailboxes
Office 365 Import Service
What is Office 365 Import Service
To help migration of PST files for users with very large PST Archives, MS just released (currently in Preview) the Office 365 Import Service. Office 365 Import service is the brand new service from Microsoft can use to transfer PST files from your on-premises environment to your Exchange Online mailboxes. You can even ship your files directly to Microsoft Datacenters and MS will upload it to your mailboxes (Isn’t it great?). You have two choices to move your data into Office 365
-
You can ship drives to Microsoft.
-
You can upload files to Office 365.
What you’ll need?
You need to prepare a PST to user mapping file and PST files, and hard drives (if you are shipping to Microsoft). And, permissions and admin roles required for using Microsoft Import Service.
You need to have Mailbox Import Export Admin Role in Exchange online to be able to use this service.
Important:
Only 3.5 inch SATA II/III hard drives are supported. Maximum size for each drive supported is 4 TB.
Hard drive should be NTFS formatted and single volume (Microsoft will process only 1st volume discarding all subsequent drive volumes.
Hard drives must be encrypted using BitLocker with encryption keys protected with numerical passwords. The Office 365 drive preparation tool will help with the encryption.
Which Method of Import Service is good for you?
If you have to transfer a large amount of data, and uploading it over the network is prohibitively expensive or not feasible, you can use the “drive shipping” service. In other cases, such as uploading smaller amounts of data, uploading PST files that were missed when you shipped the drive, and so on, you can upload the PST files over the network. Both methods result in the data getting moved into the Office 365 mailbox.
You can determine if your data is small or large based on your network upload performance numbers (bandwidth, latency). Typically, if you have more than 10 TB of data, drive shipping is faster.
Learn the quickie… So exactly how to use these services?
Detailed illustrations here are given for each of the methods below. Follow the relevant links
-
Upload to Office 365
-
Ship to Office 365
Go ahead and get started!
- You can ship drives to Microsoft.
- You can upload files to Office 365.
- Upload to Office 365
- Ship to Office 365
Assigning Mailbox Import Export Admin Role
Before you can make use of Office 365 Import Service for your organization, you must be assigned mailbox import export admin role by your Global Administrator (you can assign yourself if you are the global admin). Here’s how to do it:
Change username and email address of users easily | Office 365 | PowerShell
Easy way is to use Office 365 Portal or Admin Center.
2) Select the user (check box in front of it) to 'Edit' under Primary Email Address
Important to notice there is a check box to make this email address as Primary. This means all outgoing emails will be showing this id in the 'from' field to the recipients.
5) This warning message means that your user will be using this email id to login now onward.
6) Now click Save.
Done! Changes should reflect immediately!
| Set-MsolUserPrincipalName -userprincipalname |
You can run this powershell command set from your own computer. To run this powershell, the computer must have:
Export a list of mobile devices active in your Exchange Online Organization | Office 365
![]() |
| Exchange ActiveSync |
Yeah, I know its much awaited feature in Office 365, and more or less, there is very little information available on the internet about this at this time. To be true, there is now a method of exporting list of devices that run exchange ActiveSync on mobile devices. Here is goes:
$MailBox = Get-Mailbox -ResultSize Unlimited
$MailBox | %{$PrimarySmtpAddress=$_.PrimarySmtpAddress; Get-ActiveSyncDeviceStatistics -Mailbox $_.Identity | Select-Object @{Name="PrimarySmtpAddress";Expression={$PrimarySmtpAddress}}, DeviceType, DeviceOS, DeviceMobileOperator, LastSyncAttemptTime} | Export-CSV "D:\ActiveSyncDevices.csv" -Encoding utf8 -NoTypeInformation -Delimiter ";"
The above commands will export all information about your mobile devices configured with last sync time by your users like mobile device, device type, device family and even mobile operator.
Enjoy!!










