Развертывание шаблона ARM соединения Office 365 - PullRequest
0 голосов
/ 20 февраля 2020

Я пытаюсь развернуть ресурс подключения office365 с помощью шаблона ARM. Я не могу понять, как отправить учетные данные для входа в офисную учетную запись в параметре, необходимом для подключения. После этого сообщения SO ( ARM-шаблон Office 365 для подключения к логикам c apps ) мне все еще не ясно, как это сделать sh. Я могу запросить API управления ARM, как в этой статье (https://docs.microsoft.com/en-us/archive/blogs/logicapps/deploying-in-the-logic-apps-preview-refresh). Делая это, я получаю необходимые параметры. Но где я могу вставить здесь имя пользователя и пароль для офиса?

Это json, которое я получаю после запроса API. Как мне заполнить информацию о токене?:

    {
  "properties": {
    "name": "office365",
    "connectionParameters": {
      "token": {
        "type": "oauthSetting",
        "oAuthSettings": {
          "identityProvider": "aadcertificate",
          "clientId": "7ab7862c-4c57-491e-8a45-000000000000",
          "scopes": [],
          "redirectMode": "Direct",
          "redirectUrl": "https://logic-apis-eastus.consent.azure-apim.net/redirect",
          "properties": {
            "IsFirstParty": "True",
            "AzureActiveDirectoryResourceId": "https://graph.microsoft.com"
          },
          "customParameters": {
            "loginUri": {
              "value": "https://login.windows.net"
            },
            "loginUriAAD": {
              "value": "https://login.windows.net"
            },
            "resourceUri": {
              "value": "https://graph.microsoft.com"
            }
          }
        },
        "uiDefinition": {
          "displayName": "Login with Office 365 Credentials",
          "description": "Login with Office 365 Credentials",
          "tooltip": "Provide Office 365 Credentials",
          "constraints": {
            "required": "true"
          }
        }
      }
    },
    "metadata": {
      "source": "marketplace",
      "brandColor": "#0078D4"
    },
    "runtimeUrls": [
      "https://logic-apis-eastus.azure-apim.net/apim/office365"
    ],
    "generalInformation": {
      "iconUrl": "https://connectoricons-prod.azureedge.net/office365/icon_1.0.1304.1878.png",
      "displayName": "Office 365 Outlook",
      "description": "Microsoft Office 365 is a cloud-based service that is designed to help meet your organization's needs for robust security, reliability, and user productivity.",
      "releaseTag": "Production",
      "tier": "Standard"
    },
    "capabilities": [
      "actions"
    ]
  },
  "id": "/subscriptions/41648a8b-0f67-413c-aaac-000000000000/providers/Microsoft.Web/locations/eastus/managedApis/office365",
  "name": "office365",
  "type": "Microsoft.Web/locations/managedApis",
  "location": "eastus"
}

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...