| Previous | Next |
| PEER_E_NOT_AUTHORIZED | PEER_E_DEFERRED_VALIDATION |
PEER_E_PASSWORD_DOES_NOT_MEET_POLICY
Which peer contract was rejected
PEER_E_PASSWORD_DOES_NOT_MEET_POLICY — HRESULT 0x80632021 means that a password used for group invitation, join, export or protected configuration does not satisfy the applicable password requirements. The relevant API boundary includes PeerGroupCreatePasswordInvitation, PeerGroupPasswordJoin and identity/group export functions.
Minimum diagnostic packet
| Item | Evidence |
|---|---|
| Raw input | Preserve operation type, password length/category result without logging the secret, effective policy, Unicode handling and whether the password protects identity or group export data. |
| Owning context | Record the Windows user, process integrity, graph or group handle, database path and selected cloud. |
| Previous success | Save the last successful create, open, enumerate, parse, register or sign-in result that produced the object. |
| Result order | Retain the first HRESULT so cleanup failures do not replace the code that rejected the request. |
Focused reproduction
Use a newly generated strong test password in a disposable group/configuration and compare with the original policy-rejected input.
Why the comparison code is different
PEER_E_INVALID_CREDENTIAL differs because password policy rejects the protecting secret; invalid-credential rejects the invitation/credential package itself.
Recommended change
Choose a compliant password and protect it as credential material; never log or embed it in diagnostic archives.
Technical references
Looking for a different code? Search another status or error code.