Custom General Bot App (.gbapp) for resetting an user password in Azure Active Directory, Office 365, Dynamics 365 or any app published through Azure AD. Navigate to the BotServer repository for more information:
20230824T212226 GB info Input> 1832 (type: message, name: undefined, channelId: omnichannel)
20230824T212227 GB info Reset: Calling AD to reset credentials...
20230824T212228 GB error ERROR: error argument must be an Error or a string Error: error argument must be an Error or a string
at new DialogContextError (/home/gbadmin/DATA/BotServer/node_modules/botbuilder-dialogs/lib/dialogContextError.js:24:19)
at /home/gbadmin/DATA/BotServer/node_modules/botbuilder-dialogs/lib/dialogContext.js:40:19
at Generator.throw ()
at rejected (/home/gbadmin/DATA/BotServer/node_modules/botbuilder-dialogs/lib/dialogContext.js:6:65)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
20230824T212228 GB error UNCAUGHT_EXCEPTION: TypeError: Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
at process. (file:///home/gbadmin/DATA/BotServer/dist/src/app.js:99:63)
at process.emit (node:events:512:28)
at emit (node:internal/process/promises:150:20)
at processPromiseRejections (node:internal/process/promises:284:27)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
Use an OAuth 2.0 refresh token to acquire additional access tokens after the current access token expires. Refresh tokens are long-lived, and can be used to retain access to resources for extended periods of time.