and more in a single search tool across platforms. Read the announcement here. |
03/26/2024 02:57 AM
There is a requirement to import office365 China Tenant. We started off by using the Office365 connection type but Saviynt recommended that this isn't feasible for OOTB so we need to use REST connection type. We are facing issues with import JSON while configuring the REST connection. Below is the ImportAccountEntJSON that we are using. We are unable to understand which URL we need to use. Please assist us with the same.
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": [
"false"
],
"deleteLinks": true,
"accountThresholdValue": 10,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://microsoftgraph.chinacloudapi.cn/v1.0/",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "users",
"keyField": "accountID",
"statusConfig": {
"active": "true",
"inactive": "false"
},
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "email~#~char",
"displayName": "name~#~char",
"customproperty2": "email~#~char",
"customproperty3": "created_at~#~char",
"customproperty4": "updated_at~#~char",
"customproperty5": "role~#~char",
"status": "active~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.next_page==null?null:response.completeResponseMap.next_page}"
}
}
}
}
},
"entitlementParams": {
"entTypes": {
"O365-ServicePlan": {},
"O365-SKULicense": {},
"O365-ADGroup": {}
}
},
"acctEntParams": {}
}
03/26/2024 09:12 PM
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty11",
"activeStatus": ["false"],
"deleteLinks": true,
"accountThresholdValue": 10,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://microsoftgraph.chinacloudapi.cn/v1.0/users",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "users",
"keyField": "accountID",
"statusConfig": {
"active": "true",
"inactive": "false"
},
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "email~#~char",
"displayName": "name~#~char",
"customproperty2": "email~#~char",
"customproperty3": "created_at~#~char",
"customproperty4": "updated_at~#~char",
"customproperty5": "role~#~char",
"status": "active~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.next_page==null?null:response.completeResponseMap.next_page}"
}
}
}
}
},
"entitlementParams": {
"entTypes": {
"O365-ServicePlan": {},
"O365-SKULicense": {},
"O365-ADGroup": {}
}
},
"acctEntParams": {}
}
03/27/2024 06:14 AM
Thanks for providing the JSON. I was able to run the access import job successfully with this but no entitlements/accounts were imported. There is no data that came through. Please assist.
03/27/2024 08:21 PM
Does it working from postman ?
04/01/2024 08:37 AM
Yes, this works in postman, however, this url brings Azure AD China artefacts (users and entitlements). Can you confirm if it would be same for Office 365 China as well?
04/01/2024 09:04 AM
https://graph.microsoft.com.cn/v1.0/users
04/03/2024 03:36 AM
Hi, we are getting an error with this url mentioned above. please see screenshot below and assist
04/03/2024 08:16 PM
Is it working from postman