Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement 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

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

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


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.