Codeunit 6301 Power BI Service Mgt.

Base Application, System.Integration.PowerBI

Source AL, 340 lines

src/Layers/W1/BaseApp/Modules/System/PowerBI/PowerBIServiceMgt.Codeunit.allines 12 to 27 of 340, Copyright (c) Microsoft Corporation. MIT

codeunit 6301 "Power BI Service Mgt."{    var        AzureAdMgt: Codeunit "Azure AD Mgt.";        GenericErr: Label 'An error occurred while trying to get reports from the Power BI service. Please try again or contact your system administrator if the error persists.';        PowerBiResourceNameTxt: Label 'Power BI Services';#if not CLEAN27        MainPageRatioTxt: Label '16:9', Locked = true;        FactboxRatioTxt: Label '4:3', Locked = true;#endif        FailedAuthErr: Label 'We failed to authenticate with Power BI. Try to sign out and in again. This problem typically happens if you no longer have a license for Power BI or if you just changed your email or password.';        UnauthorizedErr: Label 'You do not have a Power BI account. If you have just activated a license, it might take several minutes for the changes to be effective in Power BI.';        PowerBIEmbedReportUrlTemplateTxt: Label 'https://app.powerbi.com/reportEmbed?reportId=%1', Locked = true;        Dyn365AppSourceUrlTxt: Label 'https://go.microsoft.com/fwlink/?linkid=862352', Locked = true;        PowerBIMyOrgUrlTxt: Label 'https://go.microsoft.com/fwlink/?linkid=862353', Locked = true;        JobQueueCategoryCodeTxt: Label 'PBI EMBED', Locked = true;

All 340 lines

Events 1 in 29

[InternalEvent] OnServiceProviderCreate(var PowerBIServiceProvider: Interface "Power BI Service Provider"; var Handled: Boolean)new in 23

All 4 events in 17-29

Public procedures 22 in 29

IsUserReadyForPowerBI(): Boolean17-29
GetPowerBIResourceUrl(): Text17-29
GetPowerBiResourceName(): Text17-29
GetGenericError(): Text17-29
GetContentPacksServicesUrl(): Text17-29
GetContentPacksMyOrganizationUrl(): Text17-29

All 63 procedures in 17-29

Changes 12 in 26

List17181920212223242526272829
Procedures2383216155112
Events3313
IsReportEnabled(ReportId: Guid; EnglishContext: Text): Booleangone after 25
gone
GetUnauthorizedErrorText(): Textgone after 25
gone
HasUploads(): Booleangone after 25
gone
GetData(var ExceptionMessage: Text; var ExceptionDetails: Text; Url: Text): Textgone after 25
gone
GetDataCatchErrors(var ExceptionMessage: Text; var ExceptionDetails: Text; var ErrorStatusCode: Integer; Url: Text): Textgone after 25
gone
FormatSpecialChars(Selection: Text): Textgone after 25
gone

All 104 changes in 17-29