Posts

Showing posts from 2019

Restore a deleted OneDrive for Business account from Office365: "A site collection with the same Site Id or Path already exists."

If a user has left, their license gets removed and their OneDrive for Business account gets automatically deleted for a period of 93 days. If you try and restore a user, and un-delete their OneDrive, you run into a problem as restoring the account atomically creates a new empty OneDrive. Restoring gets you this error:- Restore-SPODeletedSite : A site collection with the same Site Id or Path already exists. You have to permanently delete the new empty OneDrive account, then restore then old deleted one back:- To delete permanently the newly created (empty) site:- Remove-SPOSite -Identity https://xxxxxx-my.sharepoint.com/personal/xxxxxxxxx To restore the automatically deleted (full) site:- Restore-SPODeletedSite -Identity https://xxxxxx-my.sharepoint.com/personal/xxxxxxxxx

IP address registered for server is wrong

Our server has several network cards. If you ping the server name, you get the wrong IP address (instead of the management IP you get the IP address of the internet facing address, which is not routed internally). First, I removed the "register this connection's address in DNS" option in the network card, and ipconfig /register DNS. This worked for 1 day, but after 1 day the old IP address came back again. Fix: In DHCP, make a reservation for the address lease. In properties, remove the tickbox "Enable DNS Dynamic updates".  Problem solved!

Cannot purge deleted mailbox Office 365

Problem. User left last year, account was disabled and Office 365 mailbox deleted. She comes back 1 year later, her A.D account is enabled and moved to the correct O.U. But….. a new mailbox cannot be created for in O365: error in creating a mailbox. Her old mailbox is still in the “deleted mailboxes” in Exchange Admin Center. Cannot delete the old mailbox. Error: The user mailbox couldn't be permanently deleted. The user mailbox has at least one type of hold or hold policy applied to it. Please remove the holds before trying to delete. LitigationHoldEnabled: true, ComplianceTagHoldApplied: false, Solution. ·          -  Set-Mailbox xxxx@contoso.com -LitigationHoldEnabled $false -InactiveMailbox ·          -  Remove-Mailbox -Identity "xxxx@contoso.com" -PermanentlyDelete -Confirm:$True After that the old mailbox is permanently removed. Re-create the license and let O365 create a new mailbox.