Save quarantine connector credentials

Stores and validates the Microsoft 365 or Google Workspace mailbox connector credentials used to quarantine reported emails. Provide the Microsoft fields for a "microsoft" provider, or the Google service-account JSON for a "google" provider. Secrets are validated on save and never returned. The Microsoft app registration needs the Microsoft Graph application permissions Mail.ReadWrite and User.Read.All with admin consent, and must be your own (the app behind your Microsoft 365 connection is refused). It can use a federated credential instead of a client secret (microsoftCredentialType "federated"), for tenants that block new client secrets: add a federated credential to the app registration with issuer https://id.caniverify.com, subject workspace:{tenantID}:quarantine and the audience Entra fills in (api://AzureADTokenExchange in the global cloud; US Government and China tenants get their cloud's own). Saving a federated credential removes a stored client secret.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
enum
required

The mailbox provider these credentials are for.

Allowed:
string

Azure AD Application (client) ID. Required for a "microsoft" provider.

string

Azure AD Directory (tenant) ID — your Microsoft tenant, not the CanIPhish tenantID. Required for a "microsoft" provider.

string

Azure AD client secret. Required for a "microsoft" provider when microsoftCredentialType is "secret". Never returned.

string
enum
Defaults to secret

For a "microsoft" provider: "secret" (the default) to sign in with microsoftClientSecret, or "federated" to sign in with a federated credential on the app registration and no secret.

Allowed:
string

The Google Workspace service-account credential JSON. Required for a "google" provider. Never returned.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json