Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]:ALM for Makers error while promoting to TEST #907

Open
mcjustin71 opened this issue Apr 8, 2021 · 2 comments
Open

[BUG]:ALM for Makers error while promoting to TEST #907

mcjustin71 opened this issue Apr 8, 2021 · 2 comments
Assignees

Comments

@mcjustin71
Copy link

Describe the bug
During the promotion of a solution from Dev to Test environment I am getting a failure

Component (please tell us which flow or app you are experiencing issues with):
ALM for Makers solution
Seems to be a github action in the DeployToStage Flow

To Reproduce
Steps to reproduce the behavior:

  1. Launch ALM for Makers app
  2. Click Deploy button on Dev project
  3. Error Notifications are send and error is noted in app
  4. Deployment Failed

Expected behavior
Solution is to be imported and published into stage environment

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Here is a trace of the error coming from the github action.
exe: D:\a_actions\microsoft\powerplatform-actions\v0.1.8\dist\pac\tools\pac.exe, first arg of 8: auth
Error: error: 1: Microsoft PowerApps CLI

Version: 1.3.6+gb980aa0

Error: AADSTS50126: Error validating credentials due to invalid username or ***.
Trace ID: 3a307f94-d45a-4c4a-93ef-fdb93d330d00
Correlation ID: 1e920d28-5b9a-4262-b612-31bf792b4487
Timestamp: 2021-04-08 21:53:15Z
Response status code does not indicate success: 400 (BadRequest).
{"error":"invalid_grant","error_description":"AADSTS50126: Error validating credentials due to invalid username or ***.\r\nTrace ID: 3a307f94-d45a-4c4a-93ef-fdb93d330d00\r\nCorrelation ID: 1e920d28-5b9a-4262-b612-31bf792b4487\r\nTimestamp: 2021-04-08 21:53:15Z","error_codes":[50126],"timestamp":"2021-04-08 21:53:15Z","trace_id":"3a307f94-d45a-4c4a-93ef-fdb93d330d00","correlation_id":"1e920d28-5b9a-4262-b612-31bf792b4487","error_uri":"https://login.microsoftonline.com/error?code=50126"}: Unknown error

Usage: create [--name] [--kind] --url [--username] [--***]

--name                      The name you want to give to this authentication profile (maximum 12 characters) (alias: -n)
--kind                      The kind of authentication profile you are creating, defaults to CDS (alias: -k)
--url                       The resource URL to connect to (alias: -u)
--username                  Optional: The username to authenticate with; shows AAD dialog if not specified (alias: -un)
-*** The *** to authenticate with (alias: -p)

Error: failed: Error: Microsoft PowerApps CLI,,Version: 1.3.6+gb980aa0,,,,Error: AADSTS50126: Error validating credentials due to invalid username or .,Trace ID: 3a307f94-d45a-4c4a-93ef-fdb93d330d00,Correlation ID: 1e920d28-5b9a-4262-b612-31bf792b4487,Timestamp: 2021-04-08 21:53:15Z,Response status code does not indicate success: 400 (BadRequest).,{"error":"invalid_grant","error_description":"AADSTS50126: Error validating credentials due to invalid username or .\r\nTrace ID: 3a307f94-d45a-4c4a-93ef-fdb93d330d00\r\nCorrelation ID: 1e920d28-5b9a-4262-b612-31bf792b4487\r\nTimestamp: 2021-04-08 21:53:15Z","error_codes":[50126],"timestamp":"2021-04-08 21:53:15Z","trace_id":"3a307f94-d45a-4c4a-93ef-fdb93d330d00","correlation_id":"1e920d28-5b9a-4262-b612-31bf792b4487","error_uri":"https://login.microsoftonline.com/error?code=50126"}: Unknown error,,,,Usage: create [--name] [--kind] --url [--username] [--],, --name The name you want to give to this authentication profile (maximum 12 characters) (alias: -n), --kind The kind of authentication profile you are creating, defaults to CDS (alias: -k), --url The resource URL to connect to (alias: -u), --username Optional: The username to authenticate with; shows AAD dialog if not specified (alias: -un), - The *** to authenticate with (alias: -p),,

@mcjustin71 mcjustin71 added the coestarterkit CoE Starter Kit related Issues label Apr 8, 2021
@mcjustin71 mcjustin71 changed the title ALM for Makers error while promoting to TEST [BUG]:ALM for Makers error while promoting to TEST Apr 9, 2021
@JeneferM-MSFT JeneferM-MSFT added devops-starter-kit and removed coestarterkit CoE Starter Kit related Issues labels Apr 9, 2021
@clab2bjustin
Copy link

Any guidance is appreciated, or if there is a forum I can look into that would be helpful. I am currently blocked from trying to implement this at a client.

@mikefactorial
Copy link
Contributor

@clab2bjustin based on the error message (Error validating credentials due to invalid username or ***) the first thing to check is that you have the correct credentials specified in the Admin Application as well as the correct password stored in your GitHub secrets <- NOTE: The instructions on setting up the GitHub secrets is a little vague on what should be entered there. However, it should be the password of the admin for clarification. We have a backlog item to update the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants