microsoft / microsoft/azure-devops-auth-samples
DeviceProfileSample throws Exception on missing parameter "client_assertion" or "client_secret"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 307
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 2
Description
Have updated App.config as mentioned in README.md.
When I ran the csproj, after authorising the app to our DevOps site, it still says "Something went wrong".
Can be easily re-produced.
Here's the error:
Message: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing README.md and the sample's App.config, then run the referenced csproj to reproduce the authentication failure after authorization. Compare the configured application registration with the error's missing client credential parameters; done means the sample authenticates successfully without the AADSTS7000218 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100