Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
- The tools and examples in this documentation illustrate current capabilities. Tool names, descriptions, parameters, response formats, and available functionality can change over time.
- When you build agents, integrations, or orchestration logic, don't hard-code dependencies on specific tool names, parameter structures, tool metadata, or response schemas. Instead, design your solution to discover and use available tools at runtime.
- As the platform evolves, Microsoft might add, remove, rename, or modify tools and tool metadata. Designing against capabilities rather than specific tool identifiers helps maintain compatibility across service updates.
Use this capability when you want to undo all cross-namespace grants and return an agent to its own product tools only.
What it does
This tool removes all cross-namespace grants at the organization or profile level, returning the agent to its native-namespace tools only. It requires confirmation before it clears the grants.
Try prompts like
- Undo everything cross-namespace.
- Remove all foreign tools.
- Reset cross-namespace grants.
- Clear the granted namespaces for this profile.
- Take away all the sales tools I added.
What you'll see in chat
The assistant asks you to confirm, then confirms the scope that was cleared and that the agent is back to its native tools only.
Helpful tips
- Use
level: organizationto clear organization-wide grants. - Use
level: profileto clear a specific profile's grants. Profile level requires the service app. - Include
profileIdwhenlevelisprofile. - This clears everything cross-namespace. To remove only one namespace or tool, use the grant tools with a
removeaction instead.
What happens next
- List cross-namespace grants to verify they're cleared.
- Grant a namespace again.
- Exit configuration mode.
Does this change data?
Yes, this changes configuration data.
It removes the stored cross-namespace grants for the selected scope.
Prerequisites
This tool is available on the Dynamics 365 Customer Service MCP server. See the availability note at the top of this page for details. No additional configuration is required.
Tool summary
| Property | Value |
|---|---|
| User-facing name | Reset cross-namespace grants |
| Internal tool name | delete_cross_namespace_grants |
| Purpose | Removes all cross-namespace grants at the organization or profile level |
Tool behavior
Removes all cross-namespace grants at organization or profile level, returning the agent to its native-namespace tools only. Requires confirmation. Profile level requires the service app.
Annotations
| Annotation | Value | Meaning |
|---|---|---|
readOnlyHint |
false |
This tool modifies data. |
destructiveHint |
true |
Removes the cross-namespace grants for the scope. |
idempotentHint |
true |
Clearing grants twice produces the same result. |
openWorldHint |
false |
doesn't call external systems outside the configured Dynamics 365 scope. |
Input concepts
Level
| Input | Description | Required |
|---|---|---|
level, organization, profile |
level (organization or profile, required). Chooses the scope to clear. Profile is service-app only. |
Yes |
Profile ID
| Input | Description | Required |
|---|---|---|
profileId |
profileId (UUID string, optional). Required when level is profile. |
Varies |
Confirm
| Input | Description | Required |
|---|---|---|
confirm |
confirm (must be true). Confirms that all grants for the scope should be removed. |
Yes |
Response and UI behavior
Response type
Text-only
No interactive component is rendered. Returns a confirmation of the scope that was cleared.
Routing notes
Use delete_cross_namespace_grants when:
- The user wants to remove all cross-namespace grants at once.
- The user wants to return an agent to its native tools only.
- The user wants to start over with grants.
Don't use delete_cross_namespace_grants when:
- The user wants to remove only one namespace. Use
save_cross_namespace_grantwith aremoveaction. - The user wants to remove only one tool. Use
save_cross_namespace_toolswith aremoveaction. - The user only wants to inspect grants. Use
list_cross_namespace_grants.
Related tools
| Tool | Relationship |
|---|---|
save_cross_namespace_grant |
Grants or revokes a whole foreign namespace |
save_cross_namespace_tools |
Grants or revokes individual foreign tools |
list_cross_namespace_grants |
Lists granted namespaces and tools |
Data mutation classification
Write.
Deletes all cross-namespace grants for the selected scope.