/// <summary> /// Returns the status of the specified report Export To operation from /// the specified workspace. /// </summary> /// <remarks> /// <br/>**Required scope**: Report.ReadWrite.All or Report.Read.All /// <br/>To set the permissions scope, see [Register an /// app](https://docs.microsoft.com/power-bi/developer/register-app). /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupId'> /// The group id /// </param> /// <param name='reportId'> /// The report id /// </param> /// <param name='exportId'> /// The export id /// </param> public static Export GetExportToFileStatus(this IReportsOperations operations, Guid groupId, Guid reportId, string exportId) { return(operations.GetExportToFileStatusAsync(groupId, reportId, exportId).GetAwaiter().GetResult()); }