intra-mart Accel Platform Office 365 連携セットアップガイド 第8版 2023-04-01

8. 連携を解除するには

Office 365 連携 の解除は以下の手順で行います。

8.1. 設定ファイルの編集

intra-mart Accel Platform システム管理者 向けの作業です。
ファイル 場所
im_office365_files_api.xml WEB-INF/conf/oauth-provider-config
<?xml version="1.0" encoding="UTF-8"?>
<oauth-provider-config xmlns="http://www.intra-mart.jp/system/oauth/client/config/oauth-provider-config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.intra-mart.jp/system/oauth/client/config/oauth-provider-config ../schema/oauth-provider-config.xsd ">

  <oauth-providers>

    <!--
    <oauth-provider id="Please_input_your_ID">
      <provider-type>office365</provider-type>
      <name message-cd="CAP.Z.IWP.OFFICE365.FILESAPI.OAUTH.PROVIDER.NAME">Office 365 OneDrive API</name>
      <description message-cd="CAP.Z.IWP.OFFICE365.FILESAPI.OAUTH.PROVIDER.DESCRIPTION">It is allow the use of the Office 365 OneDrive API.
It is possible to access a file on SharePoint online by using the Office 365 OneDrive API.</description>
      <icon-path>im_office365/images/office365_48.png</icon-path>
      <oauth-config>
        <authz-end-point>https://login.microsoftonline.com/common/oauth2/authorize</authz-end-point>
        <token-end-point>https://login.microsoftonline.com/common/oauth2/token</token-end-point>
        <client-id>[Please input your application's Client ID]</client-id>
        <client-secret>[Please input your application's Client Secret]</client-secret>
      </oauth-config>
      <extra-config>
        <parameter name="resource">https://[Please input your SharePoint's tenant ID].sharepoint.com</parameter>
        <parameter name="sharepoint.tenant">[Please input your SharePoint's tenant ID]</parameter>
      </extra-config>
    </oauth-provider>
    -->

  </oauth-providers>

</oauth-provider-config>
上記のように <im_office365_files_api.xml> ファイルから、連携を解除したい Office 365 の<oauth-provider>の設定を取り除いてください。
修正後 intra-mart Accel Platform を再起動してください。