public ExportService(AadService aadService, IOptions <PowerBiConfig> powerBiConfig)
 {
     this.aadService  = aadService;
     this.workspaceId = new Guid(powerBiConfig.Value.WorkspaceId);
     this.reportId    = new Guid(powerBiConfig.Value.ReportId);
     this.pbiClient   = GetPowerBIClientAsync().Result;
 }
 public DataverseService(AadService aadService, IOptions <DataverseConfig> dataverseConfig)
 {
     this.aadService      = aadService;
     this.dataverseConfig = dataverseConfig;
     this.dataverseClient = GetDataverseClientAsync().Result;
 }