# Azure Active Directory : Error : Error! Exception occurred while getting license details

**URL:** <https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818>\
**Category:** SHF Discussion and Questions\
**Tags:** apis, identity-security-cloud, aggregation\
**Created:** [September 18, 2025, 6:21pm UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818 "2025-09-18T18:21:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![navyakodali](https://avatars.discourse-cdn.com/v4/letter/n/3ec8ea/32.png) [@navyakodali](https://developer.sailpoint.com/discuss/u/navyakodali)\
**Post date:** [September 18, 2025, 6:21pm UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818/1 "2025-09-18T18:21:56Z")

</div>

Hi Developer

looking for urgent assistance on getting error while full account aggregation in Azure Active Directory.

Add the `useMSGraphAPI` attribute in the Azure AD data source through API.  
Kindly use the API format:  
**PATCH** /v3/sources/:id

[  
{ “op”: “add”,  
“path”: “/connectorAttributes/useMSGraphAPI”,  
“value”: “true”  
}  
]  
The above couldn’t fix the issue.

Thanks you so much for help.

Regards  
Navya

---

<div class="post-metadata">

**Author:** ![RAKGDS](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/rakgds/32/2795_2.png) [@RAKGDS](https://developer.sailpoint.com/discuss/u/RAKGDS)\
**Post date:** [October 7, 2025, 9:08am UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818/2 "2025-10-07T09:08:43Z")

</div>

Hi Navya,

Could you please let us know what issue you are facing which aggregating the account ?

---

<div class="post-metadata">

**Author:** ![pkMishra](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pkmishra/32/30342_2.png) [@pkMishra](https://developer.sailpoint.com/discuss/u/pkMishra)\
**Post date:** [October 7, 2025, 10:58am UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818/3 "2025-10-07T10:58:09Z")

</div>

Hi @navyakodali ,

Try removing the risky user attributes in the schema.  
Go to your Azure Source \>\> Account Schema and delete the attribute called risky user attributes.

Here’s a post I found - [Error in Azure Active Directory Account Aggregation](https://developer.sailpoint.com/discuss/t/error-in-azure-active-directory-account-aggregation/3105)

Also, when you get a chance, could you please confirm if you have the required permission to load accounts - [Required Permissions](https://documentation.sailpoint.com/connectors/microsoft/entra_id/help/integrating_entra_id/administrator_permission.html)

Thanks!

---

<div class="post-metadata">

**Author:** ![nhassan](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/nhassan/32/5835_2.png) [@nhassan](https://developer.sailpoint.com/discuss/u/nhassan)\
**Post date:** [October 7, 2025, 11:56am UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818/4 "2025-10-07T11:56:16Z")

</div>

Hi @navyakodali

Is the issue still there?

This could be a network issue on your side. Did you check the Azure AD connector logs for any errors and what’s causing this? You can follow this document [Enabling Connector Logging](https://community.sailpoint.com/t5/IdentityNow-Articles/Enabling-Connector-Logging-in-IdentityNow/ta-p/188107?_ga=2.192633134.549720369.1677512159-1413086531.1675185796&_gl=1*ew0ox7*_ga*MTQxMzA4NjUzMS4xNjc1MTg1Nzk2*_ga_SS72Z4HXJM*MTY3Nzc2ODY4MS42MC4xLjE2Nzc3NzAwNjguNDguMC4w).

Did you check whether aggregations for other cloud sources work fine?

Also, did you check whether the necessary attributes are added to the connector [Additional Configuration Parameters](https://documentation.sailpoint.com/connectors/microsoft/entra_id/help/integrating_entra_id/additional_configuration_parameters.html)?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [December 6, 2025, 11:57am UTC](https://developer.sailpoint.com/discuss/t/azure-active-directory-error-error-exception-occurred-while-getting-license-details/180818/5 "2025-12-06T11:57:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
