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

task brazil Updated Sep 10, 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.

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