/// <summary> /// Returns the specified dashboard from the specified workspace. /// </summary> /// <remarks> /// <br/>**Required scope**: Dashboard.ReadWrite.All or /// Dashboard.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 workspace id /// </param> /// <param name='dashboardId'> /// The dashboard id /// </param> public static Dashboard GetDashboardInGroup(this IDashboardsOperations operations, System.Guid groupId, System.Guid dashboardId) { return(operations.GetDashboardInGroupAsync(groupId, dashboardId).GetAwaiter().GetResult()); }