Hello,
I was trying to connect to DS using a PowerShell script and received the following error message: 'Error: Consent required.' Does anyone know the reason for this error and how I can fix it?

Hello,
I was trying to connect to DS using a PowerShell script and received the following error message: 'Error: Consent required.' Does anyone know the reason for this error and how I can fix it?
That error is related to the individual consent.
The user being used during the token creation needs to grant consent for the integration key being used.
You can create the individual consent link with the steps at https://developers.docusign.com/platform/auth/consent/obtaining-individual-consent/
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.