Microsoft 365

Microsoft 365 Integration.

Retrieve global Microsoft 365 provisioning details

get

Retrieve details of global Microsoft 365 settings.

Authorizations
Responses
200
OK
application/json
get
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"
}

Reprovision global Microsoft 365 integration.

post

Update global Microsoft 365 settings.

Authorizations
Body
national_cloudstring · enumOptional

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.
Default: GLOBALPossible values:
directory_idstringOptional

The Directory ID (Tenant ID) of Microsoft identity platform.

application_idstringOptional

The Application (client) ID of Azure AD.

Responses
200
OK
post
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

Download global Microsoft 365 certificate

get

Download global Microsoft 365 certificate.

Authorizations
Responses
200
OK
application/octet-stream
Responsestring · binary
get
GET /api/admin/ms365/certificate HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Generate new global Microsoft 365 certificate

post

Generate new global Microsoft 365 certificate.

Authorizations
Responses
200
OK
application/octet-stream
Responsestring · binary
post
POST /api/admin/ms365/certificate HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Retrieve tenant Microsoft 365 provisioning details

get

Retrieve details of tenant Microsoft 365 settings.

Authorizations
Responses
200
OK
application/json
get
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"
  }
}

Reprovision tenant Microsoft 365 integration.

post

Update tenant Microsoft 365 settings.

Authorizations
Body
national_cloudstring · enumOptional

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.
Default: GLOBALPossible values:
directory_idstringOptional

The Directory ID (Tenant ID) of Microsoft identity platform.

application_idstringOptional

The Application (client) ID of Azure AD.

sync_timestringOptional

The crontab expression https://en.wikipedia.org/wiki/Cron

Responses
200
OK
post
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

Download Microsoft 365 certificate

get

Download Microsoft 365 certificate.

Authorizations
Responses
200
OK
application/octet-stream
Responsestring · binary
get
GET /api/ms365/certificate HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Generate new Microsoft 365 certificate

post

Generate new Microsoft 365 certificate.

Authorizations
Responses
200
OK
application/octet-stream
Responsestring · binary
post
POST /api/ms365/certificate HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

Retrieve a collection of Microsoft 365 users

get

Retrieve a collection of Microsoft 365 users.

Authorizations
Responses
200
OK
application/json
get
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
    }
  ]
}