Get the site ID for a given domain and site name using Microsoft Graph API.
Access token from getSharePointTokenUserAuth
Domain name (e.g., 'ahsiaoproductivemobile.sharepoint.com')
Site name (e.g. , 'MatterwayDevelopmentTesting')
Return site ID
const siteId = await getSiteIdEval(ctx, token, { domain: 'ahsiaoproductivemobile.sharepoint.com', site: 'MatterwayDevelopmentTesting',}); Copy
const siteId = await getSiteIdEval(ctx, token, { domain: 'ahsiaoproductivemobile.sharepoint.com', site: 'MatterwayDevelopmentTesting',});
Get the site ID for a given domain and site name using Microsoft Graph API.