Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,264 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I’m just trying to construct the Graph URI for the trim existing version delete job. In the location variable, I’m just trying to pull out all the sites that match the $hostname. I really have no idea what command I need to use on the $loc variable to pull out all the sites ID across the geo's
$URI = https://graph.microsoft.com/beta/sites/$hostname`:/$loc
Could any one advise on this ?