Skip to content

startAzureCloudAccountOauth

Initiates a session before doing Azure OAuth flow. If a custom app is configured for the tenant, the client ID of the custom app is returned. Otherwise, the client ID of the default app is returned.

Arguments

Argument Type Description
input (required) StartAzureCloudAccountOauthInput! Input for initiating authentication of the Azure Cloud Accounts.

Returns

StartAzureCloudAccountOauthReply!

Sample

mutation StartAzureCloudAccountOauth($input: StartAzureCloudAccountOauthInput!) {
  startAzureCloudAccountOauth(input: $input) {
    clientId
    sessionId
  }
}
{
  "input": {}
}
{
  "data": {
    "startAzureCloudAccountOauth": {
      "clientId": "example-string",
      "sessionId": "example-string"
    }
  }
}