PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

getting Error Illegal character while importing entitlements using azure rest connection

venkat
New Contributor III
New Contributor III

Trying to import Azure AD groups using the below call

https://graph.microsoft.com/v1.0/groups?$filter=securityEnabled eq true and onPremisesSyncEnabled ne true and NOT(groupTypes/any(s:s eq 'DynamicMembership')) and NOT(groupTypes/any(s:s eq 'Unified'))&$count=true&$select=id,displayName&ConsistencyLevel=eventual

 works fine in postman .

Getting below error

2024-06-10T20:28:31-04:00-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-20-td7rx-DEBUG-Got null response statusCode with erroMsg - [error:Error Illegal character in query at index 63: https://graph.microsoft.com/v1.0/groups?$filter=securityEnabled eq true and onPremisesSyncEnabled ne true and NOT(groupTypes/any(s:s eq 'DynamicMembership')) and NOT(groupTypes/any(s:s eq 'Unified'))&$count=true&$select=id,displayName&ConsistencyLevel=eventual]
 
2024-06-10T20:28:31-04:00-ecm-worker-rest.RestProvisioningService-quartzScheduler_Worker-20-td7rx-DEBUG-Error while getting Access Import response for entType- AADGroup, url- https://graph.microsoft.com/v1.0/groups?$filter=securityEnabled eq true and onPremisesSyncEnabled ne true and NOT(groupTypes/any(s:s eq 'DynamicMembership')) and NOT(groupTypes/any(s:s eq 'Unified'))&$count=true&$select=id,displayName&ConsistencyLevel=eventual is: null
 
what is wrong with the Http request

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

https://graph.microsoft.com/v1.0/groups?$filter=securityEnabled%20eq%20true%20and%20onPremisesSyncEn...


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

venkat
New Contributor III
New Contributor III

thank you . this fixed ir

👍Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.