Locate and copy the Direct Line secret key in Microsoft Power Virtual Agents

task australia Updated Mar 12, 2026 1 min read get-dl-secret-key-mspva.md
Raw file servicenow.com

To use Power Virtual Agents with Virtual Agent Bot Interconnect, you must locate and copy the Direct Line security key in your Power Virtual Agents account.

Before you begin

You must have a Microsoft Power Virtual Agents account with at least one bot.

Create a JavaScript function in Microsoft Azure using Visual Studio Code.

Role required: admin

Procedure

  1. Log into your Microsoft Power Virtual Agents account.

  2. Navigate to Manage > Security.

  3. Click the Web channel security tile.

  4. In the popover window, click Copy under Secret 1.

    [Omitted image "ms-pva-web-channel-security-secret.png"] Alt text: The Direct Line secret keys are listed in Web channel security. Click Copy to copy it to the clipboard.

Parent Topic:Using Microsoft Power Virtual Agents as a secondary bot with Virtual Agent Bot Interconnect

Previous topic:Create a JavaScript function in Microsoft Azure using Visual Studio Code

Next topic:Add the Direct Line secret key to your Virtual Agent Bot Interconnect instance

Search documentation
Search document titles and file paths on the australia branch