Skip to content

Commit 6739f20

Browse files
PR comments
1 parent 47f6e1a commit 6739f20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services

libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services/mcp_tool_registration_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from microsoft_agents_a365.tooling.utils.constants import Constants
1616

1717
from microsoft_agents_a365.tooling.utils.utility import (
18-
get_ppapi_token_scope,
18+
get_mcp_platform_authentication_scope,
1919
get_use_environment_id,
2020
)
2121

@@ -71,7 +71,7 @@ async def add_tool_servers_to_agent(
7171
try:
7272
# Exchange token if not provided
7373
if not auth_token:
74-
scopes = get_ppapi_token_scope()
74+
scopes = get_mcp_platform_authentication_scope()
7575
authToken = await auth.exchange_token(turn_context, scopes, "AGENTIC")
7676
auth_token = authToken.token
7777

0 commit comments

Comments
 (0)