Function getDriveItemsEval

  • Get drive items from a SharePoint drive using Microsoft Graph API.

    Parameters

    • ctx: Context
    • token: string

      Access token from getSharePointTokenUserAuth

    • options: {
          driveId: string;
      }
      • driveId: string

        Drive ID (e.g. , 'ab!5xqiQKeGnEGeI02fc4Mu5HrH_BkaM1FNnCohEqq7eEnQYz1prATORbPSv-3951Ny')

    Returns Promise<any>

    Return drive items

    const driveItems = await getDriveItemsEval(ctx, token, {
    driveId: 'ab!5xqiQKeGnEGeI02fc4Mu5HrH_BkaM1FNnCohEqq7eEnQYz1prATORbPSv-3951Ny',
    });