SharePoint Online: Get Site Collection ID (or Web ID) using PowerShell

Requirement: Get the ID of a SharePoint Online site collection or subsite using PowerShell. How to get the SharePoint Online Site ID? If you are a SharePoint administrator, then there is a good chance you will need the IDs of your SharePoint Online site collection or subsite at times to troubleshoot issues…

Read more