Hello,
We are experiencing a reproducible issue with Microsoft Foundry agents that remain permanently disabled after their Microsoft Entra Agent Identity has been re-enabled.
Issue description
We have reproduced this behavior with four different agents created in the same Microsoft Foundry project.
The following sequence consistently produces the issue:
- Create a new agent in Microsoft Foundry and verify that it works correctly in Playground.
Disable its associated Agent Identity in Microsoft Entra ID, or block the agent from the Microsoft 365 admin center.
Foundry correctly prevents execution and returns the error AgentIdentityDisabled.
Re-enable the Agent Identity in Entra ID, or unblock the agent in Microsoft 365.
Microsoft Graph confirms that the Agent Identity is enabled (accountEnabled: true).
However, Foundry continues to show the agent as Disabled and rejects all new requests with AgentIdentityDisabled.
The issue persists for several hours, well beyond the expected propagation delay.
Technical findings
We queried the Microsoft Foundry Agents REST API and obtained the following state:
{
"configuration_state": "enabled",
"state": "disabled",
"state_source": "agent_instance_identity",
"instance_identity": {
"status": "disabled"
},
"blueprint": {
"status": "active"
}
}
We also verified the Agent Identity directly through Microsoft Graph:
{
"accountEnabled": true,
"disabledByMicrosoftStatus": null
}
Each affected agent has its own Agent Identity and Blueprint.
Confirmed that Agent Identities are enabled in Microsoft Entra ID.
Confirmed that Blueprints remain active.
Confirmed that Microsoft 365 displays the affected agents as Available.
Attempted to re-enable the agents from the Foundry portal.
Attempted to re-enable agents through the Foundry REST API.
Tested a complete Disable → Enable cycle through the Foundry API.
None of these actions restored the affected agents.
Important comparison: When we disable an agent directly from Foundry without disabling its Agent Identity in Entra, the agent can be re-enabled successfully. The problem only appears when the Agent Identity itself has been disabled and subsequently re-enabled.
Questions
Is this a known issue affecting Agent Identity state synchronization between Microsoft Entra ID and Microsoft Foundry?
Why does Foundry continue to report instance_identity.status = disabled when Microsoft Graph confirms accountEnabled = true?
Is there a supported procedure or API to force Foundry to refresh or reconcile the Agent Identity state?
How can we recover the existing affected agents without deleting or recreating them?
This behavior is particularly concerning for enterprise environments where disabling an Agent Identity may be used as an emergency security control. The blocking operation works, but the recovery operHello,
We are experiencing a reproducible issue with Microsoft Foundry agents that remain permanently disabled after their Microsoft Entra Agent Identity has been re-enabled.
Issue description
We have reproduced this behavior with four different agents created in the same Microsoft Foundry project.
The following sequence consistently produces the issue:
Create a new agent in Microsoft Foundry and verify that it works correctly in Playground.
Disable its associated Agent Identity in Microsoft Entra ID, or block the agent from the Microsoft 365 admin center.
Foundry correctly prevents execution and returns the error AgentIdentityDisabled.
Re-enable the Agent Identity in Entra ID, or unblock the agent in Microsoft 365.
Microsoft Graph confirms that the Agent Identity is enabled (accountEnabled: true).
However, Foundry continues to show the agent as Disabled and rejects all new requests with AgentIdentityDisabled.
The issue persists for several hours, well beyond the expected propagation delay.
Technical findings
We queried the Microsoft Foundry Agents REST API and obtained the following state:
{
"configuration_state": "enabled",
"state": "disabled",
"state_source": "agent_instance_identity",
"instance_identity": {
"status": "disabled"
},
"blueprint": {
"status": "active"
}
}
We also verified the Agent Identity directly through Microsoft Graph:
{
"accountEnabled": true,
"disabledByMicrosoftStatus": null
}
Each affected agent has its own Agent Identity and Blueprint.
Confirmed that Agent Identities are enabled in Microsoft Entra ID.
Confirmed that Blueprints remain active.
Confirmed that Microsoft 365 displays the affected agents as Available.
Attempted to re-enable the agents from the Foundry portal.
Attempted to re-enable agents through the Foundry REST API.
Tested a complete Disable → Enable cycle through the Foundry API.
None of these actions restored the affected agents.
Important comparison: When we disable an agent directly from Foundry without disabling its Agent Identity in Entra, the agent can be re-enabled successfully. The problem only appears when the Agent Identity itself has been disabled and subsequently re-enabled.
Questions
Is this a known issue affecting Agent Identity state synchronization between Microsoft Entra ID and Microsoft Foundry?
Why does Foundry continue to report instance_identity.status = disabled when Microsoft Graph confirms accountEnabled = true?
Is there a supported procedure or API to force Foundry to refresh or reconcile the Agent Identity state?
How can we recover the existing affected agents without deleting or recreating them?
Thank you for your assistance.