System.AggregateException occurred
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at AzureAppRegUtility.Program.GetServicePrincipalId(String DisplayName) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 139
at AzureAppRegUtility.Program.CreateApplicationForPowerBI(String AppDisplayName) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 107
at AzureAppRegUtility.Program.Main(String[] args) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 46
Inner Exception 1:
NullReferenceException: Object reference not set to an instance of an object.
Issue:
System.AggregateException occurred HResult=0x80131500 Message=One or more errors occurred. Source=mscorlib StackTrace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result() at AzureAppRegUtility.Program.GetServicePrincipalId(String DisplayName) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 139 at AzureAppRegUtility.Program.CreateApplicationForPowerBI(String AppDisplayName) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 107 at AzureAppRegUtility.Program.Main(String[] args) in C:\Users\User\Vijay\PowerBiEmbedded\AzureAppRegUtility\AzureAppRegUtility\Program.cs:line 46Inner Exception 1: NullReferenceException: Object reference not set to an instance of an object.