title: MS Graph API - AADSTS50126: Error validating credentials
body: <p>A recurring job has started to fail, I've recreated the issue with Postman. </p>
  
  <p>Error:</p>
  
  <pre><code>"error": "invalid_grant",
  "error_description": "AADSTS50126: Error validating credentials due to invalid username or password."
  "error_codes": [50126]
  "error_uri": "https://login.microsoftonline.com/error?code=50126"
  </code></pre>
  
  <p>The Username &amp; Password used, work with MS Graph Explorer so I'm confident that the password has not changed. I did change the <code>grant_type=client_credentials</code> and this works so I believe the rest of the settings are also correct. I did ramp up the frequency of the job from daily to hourly lately, but the error message indicates an authentication issue. </p>
  
  <p>I'm running out of ideas to try &amp; troubleshoot, perhaps someone knows something that I don't. </p>
  
  <p>Postman settings:
  <a href="https://i.stack.imgur.com/2XXIa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2XXIa.png" alt="Postman settings"></a></p>
  
  <p>These are the production settings used in MS Power Automate, the same as above.</p>
  
  <p><a href="https://i.stack.imgur.com/GVAY0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GVAY0.png" alt="MS Graph PowerAutomate"></a></p>