Forum Discussion

GiovanniMont's avatar
GiovanniMont
New Member
2 years ago

Power BI - Register new application

Good morning,

I need to register a new application for my organization to access dashboards from Power BI and so I follow the step by step procedure from here: https://app.powerbi.com/embedsetup.

 

However on step 2 I encuteer this error every time:

 
Error when regestering application: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.PowerBI.OnboardingEmbed.OnboardingEmbed.AddApplicationPassword(AppRegistrationOperationResult appRegistrationResult, String Token) in C:\__w\1\s\src\Clients\OnboardingEmbed\OnboardingEmbed.cs:line 201 at Microsoft.PowerBI.OnboardingEmbed.Controllers.OnboardingEmbedController.d__27.MoveNext() in C:\__w\1\s\src\Clients\OnboardingEmbed\Controllers\OnboardingEmbedController.cs:line 389
 
What I can do to solve it and end the procedure?
 
Best Regards

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi GiovanniMont 

     

    The error you encountered , usually indicates that the code is trying to access a member of a reference type variable that is set to null.

     

    This can happen for a variety of reasons, but in the context of registering an application in Power BI, it can be related to a temporary issue or a specific situation in the environment that is not being handled as expected.

     

    You can try the following actions:

     

    Sometimes the problem may be temporary. Try registering the application again if it is not already registered. The problem may resolve itself.

     

    Ensure that you have sufficient permissions to register the application. You must be an administrator in a Microsoft Entra tenant, or you must enable application registration for non-administrative users.

     

    If the Power BI app registration tool is not working as expected, consider using the Azure portal directly for app registration.

     

    Ensure that application and subject object IDs are handled correctly.

     

    Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn

     

    Regards,

    Nono Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.