Msal Service Exception in Active directory code

%3CLINGO-SUB%20id%3D%22lingo-sub-1138133%22%20slang%3D%22en-US%22%3EMsal%20Service%20Exception%20in%20Active%20directory%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1138133%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20getting%20below%20exception%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMsalServiceException%3A%20A%20configuration%20issue%20is%20preventing%20authentication%20-%20check%20the%20error%20message%20from%20the%20server%20for%20details.You%20can%20modify%20the%20configuration%20in%20the%20application%20registration%20portal.%20See%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmsal-net-invalid-client%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Fmsal-net-invalid-client%3C%2FA%3E%20for%20details.%20Original%20exception%3A%20AADSTS7000218%3A%20The%20request%20body%20must%20contain%20the%20following%20parameter%3A%20'client_assertion'%20or%20'client_secret'.%3CBR%20%2F%3ETrace%20ID%3A%20f684a1b7-0969-4a54-a480-92fb41183000%3CBR%20%2F%3ECorrelation%20ID%3A%20eadd8b53-98d9-4709-ad76-7cf2ed6b7c0c%3CBR%20%2F%3ETimestamp%3A%202020-01-29%2020%3A19%3A51Z%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20code%20is%20in%20below%20link%20and%20also%20issue%20is%20raised%20there%20%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Fkalyankrishna1%2F0a6ea6d00a09f7ae81c89960e1038d79%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2Fkalyankrishna1%2F0a6ea6d00a09f7ae81c89960e1038d79%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1138133%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

Hi,

 

I am getting below exception:

 

 

MsalServiceException: 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'.
Trace ID: f684a1b7-0969-4a54-a480-92fb41183000
Correlation ID: eadd8b53-98d9-4709-ad76-7cf2ed6b7c0c
Timestamp: 2020-01-29 20:19:51Z

 

Also code is in below link and also issue is raised there :

https://gist.github.com/kalyankrishna1/0a6ea6d00a09f7ae81c89960e1038d79

 

Please help.

0 Replies