9. 連携を解除するには¶
Office 365 連携 の解除は以下の手順で行います。
9.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> ファイルから、連携を解除したい Microsoft 365 の<oauth-provider>の設定を取り除いてください。
修正後 intra-mart Accel Platform を再起動してください。
9.2. システム間で連携する方式の場合¶
intra-mart Accel Platform テナント管理者 向けの作業です。
「OAuthプロバイダ設定」画面から、登録したプロバイダを削除します。
- テナント管理者 で intra-mart Accel Platform にログインします。
- 「サイトマップ」→「OAuthクライアント」→「OAuthプロバイダ設定」→「OAuthプロバイダ一覧」をクリックします。
- 連携を解除したいプロバイダをクリックします。
- 「削除」をクリックします。
コラム
Microsoft Azure の管理ポータルで、「システム間で連携する方式(クライアントクレデンシャルフロー)のアプリケーションを設定する」で登録したアプリケーションも不要な場合は削除してください。