Microsoft 365
Microsoft 365 Integration.
Retrieve details of global Microsoft 365 settings.
GET /api/admin/ms365 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"national_cloud": "GLOBAL",
"directory_id": "text",
"application_id": "text",
"redirect_uri": "text",
"sbc_redirect_uri": "text"
}
Update global Microsoft 365 settings.
The Microsoft cloud services are available in several separate national clouds.
These national cloud versions are physical and logical network-isolated instances of Microsoft enterprise cloud services
that are confined within the geographic borders of specific countries and operated by local personnel.
Can be either:
GLOBAL
: Azure global service.CHINA
: Azure China service.
GLOBAL
Possible values: The Directory ID (Tenant ID) of Microsoft identity platform.
The Application (client) ID of Azure AD.
POST /api/admin/ms365 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"national_cloud": "GLOBAL",
"directory_id": "text",
"application_id": "text"
}
No content
Generate new global Microsoft 365 certificate.
POST /api/admin/ms365/certificate HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary
Retrieve details of tenant Microsoft 365 settings.
GET /api/ms365 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"national_cloud": "GLOBAL",
"directory_id": "text",
"application_id": "text",
"redirect_uri": "text",
"sbc_redirect_uri": "text",
"sync_time": "text",
"users": {
"enabled": false,
"sync_guest_users": false,
"sync_photo": false,
"starting_extension_number": "text",
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"sign_in_as_administrator": {
"enabled": false,
"selected_users": [
"text"
]
},
"sign_in_as_standard_user": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"personal_contacts": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"shared_mailbox": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"events": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
}
}
Update tenant Microsoft 365 settings.
The Microsoft cloud services are available in several separate national clouds.
These national cloud versions are physical and logical network-isolated instances of Microsoft enterprise cloud services
that are confined within the geographic borders of specific countries and operated by local personnel.
Can be either:
GLOBAL
: Azure global service.CHINA
: Azure China service.
GLOBAL
Possible values: The Directory ID (Tenant ID) of Microsoft identity platform.
The Application (client) ID of Azure AD.
The crontab expression https://en.wikipedia.org/wiki/Cron
POST /api/ms365 HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 633
{
"national_cloud": "GLOBAL",
"directory_id": "text",
"application_id": "text",
"sync_time": "text",
"users": {
"enabled": false,
"sync_guest_users": false,
"sync_photo": false,
"starting_extension_number": "text",
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"sign_in_as_administrator": {
"enabled": false,
"selected_users": [
"text"
]
},
"sign_in_as_standard_user": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"personal_contacts": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"shared_mailbox": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
},
"events": {
"enabled": false,
"selected_users": [
"text"
],
"sync_type": "ALL"
}
}
No content
Retrieve a collection of Microsoft 365 users.
GET /api/ms365/users HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 100,
"items": [
{
"id": "text",
"name": "text",
"email": null
}
]
}