CriticalPathTraining / PowerBiEmbedded

Resources and Sample Files associated with Ted Pattison's Power BI Embedded webinar
MIT License
58 stars 50 forks source link

Script failing while grant permission after adding API services #2

Closed krishnareddyg closed 7 years ago

krishnareddyg commented 7 years ago

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.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.

krishnareddyg commented 7 years ago

grantpermission-issue