public static void GetDriveItemContentByPath(string token, string hostName, Guid siteCollectionId, Guid siteId, string driveId, string filePath) { string webApiUrl = string.Format("{0}/sites/{1},{2},{3}/drives/{4}/root:/{5}:/content", IsBeta ? GraphAPIVersion.BETA : GraphAPIVersion.V1, hostName, siteCollectionId, siteId, driveId, filePath); var info = GraphApiCallHelper.GetApiResponseContent(token, webApiUrl); }