I’m working on creating an agent in Copilot Studio to summarize Outlook emails. I want to call this agent through an API from outside the Copilot Studio network for testing purposes through API . However, it seems I need the Entra ID or Tenant ID to enable external access, and I currently don’t have permission to view my Entra ID.Can you advise on how I can test this agent outside the environment without access to the Tenant ID?
External testing is not possible without Tenant ID access, because all authentication and external API access uses OAuth via Entra ID, there is no supported workaround that lets you bypass the Tenant ID requirement.
Microsoft does not provide:
Anonymous external API access
Test mode for unauthenticated external callers
A “public test endpoint”
A way to extract Tenant ID from Copilot Studio itself
1) Use a development or external Entra tenant
Microsoft allows creation of a free Entra External ID tenant. This is referenced in the Microsoft Dev Blog guidance.
You could:
Create your own external tenant
Perform external API tests there
Avoid corporate security restrictions
2) Use internal test features instead of external API
Copilot Studio offers internal testing that does not require Tenant ID:
Built-in Test Console
Copilot Studio Kit Test Automation
(But note: automation with Microsoft Auth still needs Tenant ID.)
Else:
Ask your admin to provide just the Tenant ID
Ask your admin to create the App Registration for you
✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem. 👍 Feel free to Like the post if you found it useful.
Was this reply helpful?YesNo
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.