Dynamic CRM Administration Center – No Instances Error
If you get “Request not processed There are no instances to display, your organization has not provisioned any instances at this time. Please check again later. ” error while you are expecting to see Dynamic CRM 365 Instances in the Dynamic 365 Administrator Center and if you opened Dynamic 365 Administrator Center via Office 365 […]
Meeting Request Do Not Automatically Accepted By On-Prem Rooms In Hybrid Exchange Structure
During a migration from an on-premises Exchange environment to Exchange During a migration from an on-premises Exchange environment to Exchange Online, I found an issue where meeting requests for a room mailbox were not accepted automatically. This only happened with users who were migrated. After logging in onto a room mailbox, I found this error: […]
Idle Session sign-out policy for SharePoint and OneDrive for Business
Session lifetimes are an important part of authentication for Office 365 and are an important component in balancing security and the number of times users are prompted for their credentials. Idle session sign-out lets you specify a time at which users are warned and subsequently signed out of Office 365 after a period of browser […]
Get mailbox folder statistics from Exchange Online / Office 365
This short and simple example shows how to connect to Exchange Online services to get mailbox folder statistics from Exchange Online / Office 365 via PowerShell. Hope it helps.
# Sample PS to connect Exchange Online and to get mailbox and inbox folder item count.
# Osman Shener
# Get Credentials for Office 365
$Creds = Get-Credential
# Connect to Office 365 services
Connect-MsolService –Credential $Creds
# Create session to Exchange Online
$EOSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $Creds -Authentication Basic -AllowRedirection
Import-PSSession $EOSession -DisableNameChecking
# The mailbox owner
$TheUser = "Osman Shener"
# Get total item count in the mailbox (all items)
$TotalItemsCount = Get-MailboxStatistics -Identity $TheUser
# Get total item count in the Inbox folder
$InboxItemsCount = Get-MailboxFolderStatistics -Identity $TheUser -FolderScope Inbox
# Print the results
$TheUser + " has " + $TotalItemsCount.ItemCount + " items in the mailbox, " + $InboxItemsCount.ItemsInFolder + " of them are in the Inbox folder."
Notes: For Office 365 operated by 21Vianet, use the ConnectionUri value: https://partner.outlook.cn/PowerShell For Office 365 Germany, use the ConnectionUri value: Be sure to disconnect the remote PowerShell session when you’re […]
Bulk Change Office 365 accounts UPN / Sign-in Names
If you synced your on-premises Active Directory (AD) without setting your users UPN attribute to use their email addresses or the custom domain you added to Azure AD, your users will have Office 365 usernames like [email protected] Changing the logon domain from the on-prem AD user settings will not help for existing users, but it […]