Closed gaung-maxgeo closed 2 years ago
Could you set the variable System.debug to true and then send the complete log file
Could you set the variable System.debug to true and then send the complete log file
I'm pretty new on DevOps. Would you please tell me where should I put 'System.debug' setting? Thank you so much..
In the variables
I rereceived this error msg in debug mode, would you please tell me exactly what happened.. Thanks
2022-01-24T00:56:35.2701274Z Done processing Power BI Actions
2022-01-24T00:56:35.2805992Z ##[debug]Caught exception from task script.
2022-01-24T00:56:35.2902356Z ##[debug]Error record:
2022-01-24T00:56:35.3602661Z ##[debug]Connect-PowerBIServiceAccount : One or more errors occurred.
2022-01-24T00:56:35.3621945Z ##[debug]At D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\run.ps1:46 char:5
2022-01-24T00:56:35.4149813Z ##[debug]+ ... Connect-PowerBIServiceAccount -Environment $organizationT ...
2022-01-24T00:56:35.4168458Z ##[debug]+ ~~~~~~~~~~~~~
2022-01-24T00:56:35.4184991Z ##[debug] + CategoryInfo : WriteError: (Microsoft.Power...IServiceAccount:ConnectPowerBIServiceAccount) [Connect-Po werBIServiceAccount], AggregateException
2022-01-24T00:56:35.4245658Z ##[debug] + FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAcc ount
2022-01-24T00:56:35.4263077Z ##[debug]
2022-01-24T00:56:35.4291778Z ##[debug]Script stack trace:
2022-01-24T00:56:35.4341976Z ##[debug]at 1.MoveNext() 2022-01-24T00:56:35.4851910Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.4873960Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.4895796Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.4920434Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendHttpMessageAsync>d__72.MoveNext() 2022-01-24T00:56:35.4979459Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.5032667Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.5053579Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.5074157Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendTokenRequestAsync>d__69.MoveNext() 2022-01-24T00:56:35.5120302Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.5140424Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.5160580Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.5231847Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<CheckAndAcquireTokenUsingBroker>d__59.MoveNext() 2022-01-24T00:56:35.5250409Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.5298570Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.5318440Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.5339055Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<RunAsync>d__57.MoveNext() 2022-01-24T00:56:35.5358173Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.5374483Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.5406990Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.5424306Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenForClientCommonAsync>d__33.MoveNext() 2022-01-24T00:56:35.5440933Z ##[debug]--- End of stack trace from previous location where exception was thrown --- 2022-01-24T00:56:35.5457356Z ##[debug] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2022-01-24T00:56:35.5474166Z ##[debug] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2022-01-24T00:56:35.5493154Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenAsync>d__59.MoveNext() 2022-01-24T00:56:35.5509729Z ##[debug] --- End of inner exception stack trace --- 2022-01-24T00:56:35.5527821Z ##[debug] at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
2022-01-24T00:56:35.5548304Z ##[debug] at Microsoft.PowerBI.Common.Authentication.ServicePrincipalAuthenticationFactory.Authenticate(String userName, SecureString password, IPowerBIEnvironment environment, IPowerBILogger logger, IPowerBISettings settings)
2022-01-24T00:56:35.5568481Z ##[debug] at Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAccount.ExecuteCmdlet()
2022-01-24T00:56:35.5633063Z ##[debug] at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord()
2022-01-24T00:56:35.5658823Z ##[debug]---> (Inner Exception #0) Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS7000215: Invalid client secret is provided.
2022-01-24T00:56:35.5673334Z ##[debug]Trace ID: 60f2e3db-cc2e-4ce0-adc9-7ec4d2434f00
2022-01-24T00:56:35.5716556Z ##[debug]Correlation ID: c57bae28-01e5-40fa-8433-5ded7d874776
2022-01-24T00:56:35.5747456Z ##[debug]Timestamp: 2022-01-24 00:56:35Z ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized). ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException: {"error":"invalid_client","error_description":"AADSTS7000215: Invalid client secret is provided.\r\nTrace ID: 60f2e3db-cc2e-4ce0-adc9-7ec4d2434f00\r\nCorrelation ID: c57bae28-01e5-40fa-8433-5ded7d874776\r\nTimestamp: 2022-01-24 00:56:35Z","error_codes":[7000215],"timestamp":"2022-01-24 00:56:35Z","trace_id":"60f2e3db-cc2e-4ce0-adc9-7ec4d2434f00","correlation_id":"c57bae28-01e5-40fa-8433-5ded7d874776","error_uri":"https://login.microsoftonline.com/error?code=7000215"}: Unknown error
2022-01-24T00:56:35.5763626Z ##[debug] --- End of inner exception stack trace ---
2022-01-24T00:56:35.5807462Z ##[debug] --- End of inner exception stack trace ---
2022-01-24T00:56:35.5828742Z ##[debug] at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Http.AdalHttpClient.
The supplied credentials for the service connection are not correct
Thank you so much.. I strated AD group setup from scratch again. Everything running fine now.
Hi , Currently I having issue with release.
I didn't get exact error details.