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

Update invalid-credentials-errors-running-desktop-flows.md #1748

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alarnaudy
Copy link

Add troubleshooting account mismatch with dsregcmd

Pull request guidance

Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.

We also need your help in order to process your request as soon as possible:

  • We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

  • After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

Add troubleshooting account mismatch with dsregcmd
Copy link

@alarnaudy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit bd9d183:

✅ Validation status: passed

File Status Preview URL Details
support/power-platform/power-automate/desktop-flows/invalid-credentials-errors-running-desktop-flows.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@@ -50,6 +50,7 @@ To see an error message with specific details on what went wrong, ensure you hav
|-1073741477|A user has requested a type of logon (for example, interactive or network) that has not been granted. An administrator has control over who can logon interactively and through the network.|The user account doesn't have logon rights on the machine, or the administrator changed the policies of the machine (check the [User Rights Assignment](/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/user-rights-assignment) settings).|To solve this issue, see ["Logon type has not been granted" error when running a desktop flow or creating a connection](logon-type-has-not-been-granted.md).|
|-1073445812|The user's UPN isn't in the expected format|The user signed in using `DOMAIN\user` but should use the `[email protected]` format instead (or vice versa).|Try to sign in using both the `[email protected]` and `DOMAIN\user` formats.|
|-1073741062|Smart card logon is required and was not used| |Connections to machines that require smart card logons aren't supported. Use a machine without this requirement.|
|-1073741715|Bad username or authentication information| Account must be checked on the device|Run the command `dsregcmd /status` in the context of the desktop flow connection account. Check the possible `Executing account names` section from the output and make sure it matches the username that has been used. Always prefer the upn `[email protected]` format on MSEntra joined or hybrid devices. Always use the domain format `DOMAIN\user` on domain-only joined devices|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Account must be checked on the device" --> isn't this supposed to be "Cause"? Shouldn't it be something like "The username couldn't be authenticated on the server side"? (actually not really sure what the cause is, but I don't think "account must be checked" is a cause? Sounds like an action to take... ?)

Also, for the last sentence, a suggestion: -->
If your machine is MS Entra joined, use the "[email protected]" format for your username. You should only use the "DOMAIN\user" format if your device is domain-only joined.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alarnaudy @aartig13, per the comments from @johndund, I suggest updating LINE 53 to the following. Could you have a review?

|-1073741715|Bad username or authentication information| The "executing account name" or the format of your username is incorrect. |Run the dsregcmd /status command in the context of the desktop flow connection account. Check the Executing Account Name section from the output and make sure it matches the username that has been used. Always prefer the UPN [email protected] format on Microsoft Entra joined or hybrid devices. If your machine is Microsoft Entra joined, use the [email protected] format for your username. You should only use the DOMAIN\user format if your device is domain-only joined.|

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alarnaudy @a-887178056, could you help double check the changes that I made for the draft? Thanks!

Copy link
Contributor

Learn Build status updates of commit 445231f:

✅ Validation status: passed

File Status Preview URL Details
support/power-platform/power-automate/desktop-flows/invalid-credentials-errors-running-desktop-flows.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

Learn Build status updates of commit d531490:

✅ Validation status: passed

File Status Preview URL Details
support/power-platform/power-automate/desktop-flows/invalid-credentials-errors-running-desktop-flows.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

Learn Build status updates of commit 2d31b95:

✅ Validation status: passed

File Status Preview URL Details
support/power-platform/power-automate/desktop-flows/invalid-credentials-errors-running-desktop-flows.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

Learn Build status updates of commit da4a980:

✅ Validation status: passed

File Status Preview URL Details
support/power-platform/power-automate/desktop-flows/invalid-credentials-errors-running-desktop-flows.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

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

Successfully merging this pull request may close these issues.

4 participants