Function getDrivesEval

  • Get drives from a SharePoint site using Microsoft Graph API.

    Parameters

    • ctx: Context
    • token: string

      Access token from getSharePointTokenUserAuth

    • options: {
          siteId: string;
      }

    Returns Promise<any>

    Return drives

    const drives = await getDrivesEval(ctx, token, {
    siteId: 'ahsiaoproductivemobile.sharepoint.com,40a21ae7-86a7-419c-9e23-4d9f73832ee4,19fcc77a331a-4d51-9c2a-2112aabb7849',
    });