Thanks for the question and using MS Q&A platform.
I understand that you are trying to download symbols from Business Central SaaS, but you are facing an error during the authentication process. Specifically, you are seeing the error message "AADSTS70020: The provided value for the input parameter 'device_code' is not valid. This device code has expired."
The error indicates that the device code you are using has expired. Device codes are short-lived and if not used within a specific time frame, they become invalid.
Here are some troubleshooting steps that might help you:
Expired device code: When you generate a device code, make sure to complete the authentication process promptly. Device codes typically have a validity period of a few minutes.
Complete Authentication Promptly: Ensure you complete the authentication process within the validity period of the device code.
Incorrect device code: The device code might be incorrect or malformed, causing the authentication to fail.
Check System Time: Ensure that your system clock is accurate. Significant time differences between your system clock and the Azure AD server can cause token issues.
By following these steps and ensuring timely actions, you should be able to resolve the AADSTS70020 error and successfully download symbols from Business Central SaaS.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.