Not being asked to re-enter creds when using MFA/OAuth method and GetCrmServiceClient
Closed this issue · 0 comments
Thomas-Carlsen commented
Describe the bug
If user/pass creds are saved and getting a new password, running the following will fail:
let env = DG.Daxif.Environment.Get "MFADevelopment"
let proxy = env.connect().GetCrmServiceClient();
The issue that the above doesn't ask to re-enter creds. I know this, since using the old way it will asked to overwrite and re-enter my username and password, and after this the above two lines will work.
So there is missing a prompt asking to re-enter the user's creds when using the above code.
To Reproduce
Steps to reproduce the behavior:
- Hopefully, the above description will be enough to reproduce.
Expected behavior
A prompt should appear when using the code in the description and the user's have got a new password.
Environment
- CRM/D365/CDS version: 9.1.x
- Tool version: 5.2.0