I currently have an application running using the device flow method and I want to change to use cert auth. I followed the steps that you have an it compiles BUT further along in the process when I try to execute this line:
future = app.acquireToken(deviceCodeFlowParameters);
It throws an error: "The method acquireToken(ClientCredentialParameters) in the type ConfidentialClientApplication is not applicable for the arguments (DeviceCodeFlowParameters)".
How do I turn the auth into an access token? Any help would be greatly appreciated!!!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
I currently have an application running using the device flow method and I want to change to use cert auth. I followed the steps that you have an it compiles BUT further along in the process when I try to execute this line:
future = app.acquireToken(deviceCodeFlowParameters);
It throws an error: "The method acquireToken(ClientCredentialParameters) in the type ConfidentialClientApplication is not applicable for the arguments (DeviceCodeFlowParameters)".
How do I turn the auth into an access token? Any help would be greatly appreciated!!!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.