---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Microsoft license assignment AI agent

# Microsoft license assignment AI agent {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Microsoft license assignment AI agent

The Microsoft license assignment AI agent in ServiceNow automates the process of assigning Microsoft licenses to users based on request items.
It integrates with Microsoft 365 and Entra ID, facilitating license allocation through profile selection, reservation order creation, and group assignments to streamline license management within your organization.
Show full answer Show less  

## Workflow Details

* Run the agent with a request item number to initiate license assignment.
* If multiple Microsoft 365 integration profiles are available, the user is prompted to select one; otherwise, the single profile is used automatically.
* If no licenses are currently available but entitlement details exist, the agent offers to create a reservation order. The draft order is presented for review, including adjustable dates validated against entitlement periods.
* The reservation order is created within ServiceNow, with a notification to the customer to complete the order on the Microsoft portal.
* The agent reviews existing Entra ID groups associated with the license. If multiple groups exist, the user selects one; if only one exists, it is chosen automatically.
* The license is assigned to the user either via the selected Entra ID group or at the user level if no groups are available, supporting both group-based and user-level licensing models.

## Configuration and Access Control

* **Third-party and AI specialist access:** Access to the agent by third parties and AI specialists can be enabled or disabled via configuration settings, which are off by default.
* **Long-term memory:** Context from previous user interactions can be enabled to enhance agent responses; this is disabled by default.
* **Roles:** Access is restricted to specific user roles such as `procurementuser`, `itil`, and `nowassistpaneluser`, ensuring controlled usage.

## Practical Benefits for ServiceNow Customers

* Automates Microsoft license assignment, reducing manual errors and saving time.
* Provides a guided workflow to handle license shortages through reservation orders.
* Supports both group-based and individual user licensing models via Entra ID integration.
* Offers configuration controls to tailor access and behavior according to organizational policies.
* Integrates seamlessly with ServiceNow Software Asset Management for comprehensive license governance.  
This Software Asset Management agent assigns a Microsoft license to a user for a given request item, handling integration profile selection, reservation order creation, and Entra ID group assignment.

## Workflow {#sam-microsoft-license-assignment-ai-agent__zsmdlwierhjt}

1. Run the Microsoft License Assignment tool with the request item number. If it returns an error, stop immediately.
2. If there are multiple integration profiles for Microsoft 365 available, prompt the user to select one and re-run the tool with the selection. If there is only one, the system automatically proceeds with that.
3. If licenses aren't currently available but entitlement details exist, offer to create a reservation order. Show the draft order for review and allow date adjustments (validated against the entitlement date range). Create the order in the ServiceNow instance, and inform the customer they must complete the order creation on the Microsoft portal.
4. Review existing Entra ID groups that carry the same license. If multiple groups are found, prompt the user to select one. If only one exists, use it automatically.
5. Assign the license to the user, including the selected group if applicable.
6. If there are no existing Entra ID groups, ServiceNow adds a license to the user at the user level. This applies if the customer is using user-level licensing rather than managing through Entra ID groups.
{#sam-microsoft-license-assignment-ai-agent__ol_wh1_11f_1kc}  
{#sam-microsoft-license-assignment-ai-agent__zsmdlwierhjt__entry__2}

| Field | Description |
|-|-|
| Allow third party to access this AI agent | When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the External discoverable field. |
| Allow AI specialists to access this AI agent | When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs \[sn_aia_agent_config\] table on the Specialist enabled field. |
| Manage long-term memory | When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see [ServiceNow Otto AI agents reference](https://www.servicenow.com/docs/sa1bdHN6FqAGJmyqCFbo6w "Find more information about user roles, tables, and the different properties that are installed in ServiceNow Otto AI agents."). |
| Tools | Scripts :   AssignLicenseToUser :   Microsoft License Assignment :   ReviewExistingEntraIDGroups |
| Allowed user roles The specific user roles that can access this AI agent. | procurement_user |
| Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take. | procurement_user, itil, now_assist_panel_user |
| Triggers | Optional. None defined by default. An admin can specify triggers if desired. For more information, see [Add a trigger to an AI agent](https://www.servicenow.com/docs/TTPcY_6jqFaCPLWj8oH1fQ "In the guided setup for an AI agent, add triggers to run the AI agent automatically when certain conditions are met."). |
| Channels | Configure an assistant for Virtual Agent or ServiceNow Otto panel using [Assistant Designer](https://www.servicenow.com/docs/access?context=configure-now-assist-va&version=brazil&pubname=brazil-conversational-interfaces&ft:locale=en-US). |
| Used in agentic workflows | Help manage software requests |
[Table 1. Configuration]

Learn more about Software Asset Management at [Software Asset Management](https://www.servicenow.com/docs/access?context=c_SoftwareAssetMgmt&version=brazil&pubname=brazil-it-asset-management&ft:locale=en-US).

