web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / [Help Needed] Copilot ...
Copilot Studio
Unanswered

[Help Needed] Copilot Studio MCP Dynamic OAuth returns 403 on DCR despite working endpoints

(0) ShareShare
ReportReport
Posted on by
I'm trying to connect Copilot Studio to a custom MCP Server hosted on Azure Functions using Dynamic OAuth mode. The DCR (Dynamic Client Registration) endpoints I implemented work perfectly when tested from command line, but Copilot Studio gets a 403 Forbidden error. I've exhausted my troubleshooting options and need help identifying what's different about Copilot Studio's requests.
 
Setup Summary:
Constraints (org policy):
❌ No client secrets allowed
❌ Cannot use "Allow requests from any application" in Easy Auth
❌ API keys not supported
 
What I configured:
 
Component Configuration
App Registration Single-tenant, exposed scopes, redirect URI from Copilot Studio added
Easy Auth Microsoft provider, allowedApplications with Power Platform client IDs
Excluded Paths /.well-known/*, /register, /register/*
IP Restrictions CopilotActionsPowerPlatformInfraPowerPlatformPlex, AzureConnectors service tags allowed
Custom DCR Endpoints Implemented RFC 7591/8414/9728 since Entra ID doesn't support DCR natively
 
Copilot Studio Settings:
Auth Type: OAuth 2.0 → Dynamic
Authorization/Token URLs pointing to Entra ID

The Problem:
Error: GetDynamicClientRegistrationResultAsync failed. Status Code: Forbidden
 
What works (tested via curl/PowerShell):
  • ✅ GET /.well-known/oauth-protected-resource → 200 OK
  • ✅ GET /.well-known/oauth-authorization-server → 200 OK
  • ✅ POST /register → 201 Created (returns client_id/secret)
What fails:
Copilot Studio gets 403 when attempting the same DCR flow.
 
Questions:
  1. What client IDs / source IPs does Copilot Studio use for DCR requests in Dynamic OAuth mode?
  2. Are there additional service tags needed beyond CopilotActions, PowerPlatformInfra, PowerPlatformPlex?
  3. Does Copilot Studio send headers that might bypass Easy Auth's excluded paths?
  4. Has anyone successfully used Dynamic OAuth with Azure Functions + IP restrictions + Easy Auth allowedApplications?
Any insights appreciated!
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 476

#2
chiaraalina Profile Picture

chiaraalina 147 Moderator

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 112 Super User 2025 Season 2

Last 30 days Overall leaderboard