-
Notifications
You must be signed in to change notification settings - Fork 10
Description
When running Agent 365 CLI endpoint registration for a blueprint, the command consistently fails with:
Forbidden: Access denied by Frontier access control
This happens for both create and delete operations:
a365 setup blueprint --endpoint-only fails when calling create endpoint.
a365 cleanup blueprint --endpoint-only fails when attempting to delete the messaging endpoint registration.
All authentication steps succeed (interactive auth via Windows Account Manager; token acquired and cached), but the Agent 365 Tools endpoint management API returns 403 Forbidden.
This appears to be a Frontier access gate/enablement problem rather than an Entra/Graph permissions issue, because the CLI is able to authenticate and acquire tokens, and the error is consistently “Frontier access control.”
To Reproduce
-
Configure and create a blueprint successfully (a365 setup blueprint works for blueprint creation/permissions).
-
Attempt to register messaging endpoint:
cd C:\opt\workspace\Agent365-Samples.git\dotnet\agent-framework\sample-agenta365 setup blueprint --endpoint-onlyShow more lines -
Attempt cleanup endpoint-only:
a365 cleanup blueprint --endpoint-onlyShow more lines
Result: both commands fail with 403 Forbidden / Frontier access control.
Expected behavior
Endpoint registration and deletion should succeed, allowing setup to complete end-to-end.
Actual behavior
Create endpoint fails:
- Failed to call create endpoint. Status: Forbidden
- Error response: Forbidden: Access denied by Frontier access control
Delete endpoint also fails:
- delete endpoint Forbidden
- Failed to delete messaging endpoint registration
Environment
OS: Windows (PowerShell)
Agent 365 CLI: (please fill exact version; can provide if needed)
Tenant ID: b7501d50-50bf-4080-bfaa-912394380b1a
Azure region used: japaneast
Blueprint ID: 04f0d5bc-91e3-40d9-a09d-6a4adb2da2be
Endpoint name: daisamiagent0302-webapp-endpoint
Messaging endpoint URL: https://daisamiagent0302-webapp.azurewebsites.net/api/messages
Recent correlation IDs:
Setup endpoint attempt: 9a9e12d4-4467-4c85-a6e3-99d0f03ac5d6
Cleanup attempt includes interactive auth + token cached, then Forbidden
Troubleshooting already tried
Confirmed tenant shows Agent 365 UI in Microsoft 365 admin center (Agents > Overview is visible).
Confirmed Copilot trial license assignment and Frontier access configuration was adjusted (toggle/refresh).
Deleted local token cache and forced re-authentication:
Removed cached token file(s) under:
C:\Users\daisami\AppData\Local\Microsoft.Agents.A365.DevTools.Cli\auth-token.json
Re-ran commands and re-authenticated interactively.
Re-ran:
a365 setup blueprint --endpoint-only
a365 cleanup blueprint --endpoint-only
No change — both create and delete remain blocked by Frontier access control.
Notes / hypothesis
Because:
Authentication succeeds and tokens are acquired/cached, and
the failure is specifically “Access denied by Frontier access control”, and
this blocks both create and delete endpoint operations,
this seems like a tenant-side Frontier enablement/flag/gating issue for the Agent 365 Tools endpoint management API rather than a misconfiguration of Graph/permissions/client app. Agent 365 is documented as requiring Frontier preview access. [Cloud & AI...nouncement | Outlook], [Agent 365_...omer pitch | PowerPoint], [learn.microsoft.com]
Could you please check whether this tenant is missing a specific enablement/flag for endpoint registration APIs, even though the UI surface is available?