32 C
Dubai
Tuesday, May 6, 2025
Home Blog Page 29

Exchange Server C Drive Cleanup

Quick C drive cleanup of exchange servers log location periodically helps exchange server to maintain a healthy C drive Free Space. I always never recommend to move transport databases to different drives to keep things neat and lesser the number of drives to manage. We don’t see transport database issues or rapid growth nowadays in the newer version of servers.

\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Mapi
\\EXCH1.azure365pro.com\c$\inetpub\logs\LogFiles\W3SVC1
\\EXCH1.azure365pro.com\c$\inetpub\logs\LogFiles\W3SVC2
\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\NotificationBroker\Client
\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\MapiHttp\Mailbox
\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Ews
\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Eas
\\EXCH1.azure365pro.com\c$\Program Files\Microsoft\Exchange Server\V15\Logging\ConversationAggregationLog

Always Delete only .log files. It doesn’t impact anything. If the file is in use. Skip File

Leaving the Organization as guest in Teams

Leaving the Organization in teams is certainly important. So that you can come out of the organization where you have been invited as a guest once your work is completed

User experience updated to leave the organization

https://myaccount.microsoft.com/organizations

Old Experience –

Login to https://myapps.microsoft.com/

Choose the Organization you want to leave.

  • Sign in to leave Organization

Once you are logged in the specified Organization. Choose the Settings button beside Organizations again. So that you get the leave Organization Option.

Choosing “Leave Organization

Now You’ve left the organization as a guest.

Migrating Work Folders and Home Folders to One Drive for Business

Create a csv


\\fileserver.azure365pro.com\h$\HomeDrives\user1.lastname,,,https://azure365pro-my.sharepoint.com/personal/user1.lastname_azure365pro_com,Documents,HomeDrive
\\fileserver.azure365pro.com\h$\HomeDrives\user2.lastname,,,https://azure365pro-my.sharepoint.com/personal/user2.lastname_azure365pro_com,Documents,HomeDrive
\\fileserver.azure365pro.com\h$\HomeDrives\user3.lastname,,,https://azure365pro-my.sharepoint.com/personal/user3.lastname_azure365pro_com,Documents,HomeDrive

To export all One Drive Urls

Connect-SPOService
 Get-SPOSite -IncludePersonalSite $true -Limit All -Template SPSPERS#10 | Select-Object url,owner | Export-Csv onedriveurls.csv

If its a green field environment and user never logged on to OneDrive yet. you can populate the URLs using Request-SPOPersonalSite


$users = Get-Content -path "OneUsers.txt"
Request-SPOPersonalSite -UserEmails $users

Run the SharePoint Migration Tool – You will need global administrator access to ingest data into users one drive.

JSON or CSV file for bulk migration

 

Choose the file

Review migration

 

Now users can access their “Home Drive” Data from their ONe Drive

Adding members to Office 365 Security Group via csv

Make sure you Connected to Exchange Online PowerShell

Connect-MsolService

You can get the object id of the group you are planning to add from Azure Active directory portal



CSV Sample – Double quotes is very important otherwise you may see undesirable additions.

Import-Csv users.csv |ForEach-Object {Add-MsolGroupMember -GroupObjectId 6e5db514-b162-4de4-ab93-3f1944ea4167 -GroupMemberType user -GroupMemberObjectId (Get-MsolUser -UserPrincipalName $_.userprincipalname).ObjectId}

 

ArchiveGuid can’t be set on this object to enable archive mailbox

Property ArchiveGuid can’t be set on this object because it requires the object to have version 0.10 (14.0.100.0) or
later. The object’s current version is 0.0 (6.5.6500.0).
+ CategoryInfo : NotSpecified: (:) [Enable-RemoteMailbox], InvalidObjectOperationException
+ FullyQualifiedErrorId : [Server=EXCH0,RequestId=0339d4a8-db1c-4173-8b68-25276bfd921b,TimeStamp=12/6/20
20 8:41:08 AM] [FailureCategory=Cmdlet-InvalidObjectOperationException] A1D7140F,Microsoft.Exchange.Management.Rec
ipientTasks.EnableRemoteMailbox
+ PSComputerName : exch0.azure365pro.com

Solution –

Enabling the archive mailbox throws an error “ArchiveGuid can’t be set on this object” as the object was not created properly using an on-premises exchange control panel to create an office 365 mailbox. Turned out to be msExchVersion attribute missing. created an office 365 mailbox. went to active directory users and computers found the working value of msExchVersion and applied the same on non-working objects. As msexchversion differs with the version of the on-prem server. mine was an exchange 2016 hybrid server.

Sample Commands to apply msExchVersion attribute on multiple objects.

((Import-Csv .\samacounts.csv) | ForEach-Object {Get-ADUser $_.samaccountname -Properties msexchversion}) | FT Name,msexchversion
Import-Csv .\archive.csv | ForEach-Object{Set-ADUser $_.samaccountname -add @{msExchVersion="88218628259840"} -WhatIf}

Something went wrong on Office 365 Mailbox

Outlook –

Something went wrong – Outlook couldn’t set up your account. Please try again. if the problem continues. contact our email administrator

 

Error –

  • Description:  Something went wrong Something went wrong and we couldn’t complete your request. cId: 175C246E2FFA4A739C309FD3B5C71CF2 app: Mail st: 500 reqid: null wsver: null efe: DXXP273CA0024, DXXP273CA0024, DXXP273CA0024 ebe: VI1PR04MB6064 et: ServerError esrc: StartupData err: Microsoft.Exchange.Data.Storage.MailboxInfoStaleException estack: Microsoft.Exchange.Data.Storage.DatabaseNotFoundException ts: 2020-11-27 08:04:04Z

Solution –

The issue turned out to be the same as below the user-created an identical live account by mistake.
I have the detailed steps in the below article on how a user can rename the live account they created by mistake causing this issue.

Someone has already setup Teams for your Organization

There could be other reasons for this error –

  • Office 365 Outage

 

× How can I help you?