IAExperiments / WikiChatbot

0 stars 0 forks source link

[HELP] #65

Closed DrDonoso closed 4 months ago

DrDonoso commented 4 months ago

Help needed with

Working with a user that meets the requirements per the documentation. When opening the Infrastructure or the Governance template, they are never prompted with the modal dialog for TenantName and AzureKind. Is there a way to force that dialog to appear? The user is logged on with their work account.

How can I solve it?

Thanks.

github-actions[bot] commented 4 months ago

Answer:

To solve the issue where the modal dialog for TenantName and AzureKind does not appear when opening the Infrastructure or the Governance template, you should ensure that the Tenant parameter is correctly entered when you run the Dashboard from the .pbit template. This parameter is crucial for retrieving your RBAC information accurately. If the parameter is entered incorrectly but the tenant exists, it will result in the Dashboard loading with blank information on the RBAC page or the Subscriptions Owners visualization on the Overview page.

Wrong Tenant Name

Additionally, if Power BI does not prompt you to enter credentials for the Azure Management REST API and the GRAPH REST API during the first use of the CCO Insights templates, it might be due to previously cached credentials from another Power BI Dashboard accessing the same APIs. In such cases, you will need to manually set the proper credentials for the GRAPH REST API Data Source by following these steps:

  1. Go to File.
  2. Click on Options and settings.
  3. Click on Data source settings.

WrongTenantNameError

ProblemGraphApi

It's important to note that Power BI Desktop caches the credentials after the first logon. If you plan to switch between Azure Global and any other region like US Government or China, or if you plan to switch between tenants, you must clear the credentials from Power BI Desktop. Failing to do so will result in the staged credentials being used again for the different Azure environments, which could lead to authentication or data load process failures.

For more detailed information, you can refer to the CCO Insights Wiki.