コンテンツにスキップ

iOS セットアップ

  • Intune iOS SDK このプラグインによってバンドルされる: 21.5.1
  • 最低 iOS バージョン: 17.0
  • 推奨 Xcode 行: 26.x

Ionic の Intune ドキュメントでは、Xcode 26 で構築されたアプリは、Intune iOS SDK を使用する必要があると記載されています。開始日は 2026 年 1 月 19 日です。このプラグインは、すでにその新しい SDK ラインにあります。 21.1.0+ starting on January 19, 2026. This plugin is already on that newer SDK line.

セクションのタイトル “1. Intune と MSAL 設定を Info.plist に追加する” Info.plist

Intune と MSAL 設定を追加する

辞書: IntuneMAMSettings クリップボードにコピー

<key>IntuneMAMSettings</key>
<dict>
<key>ADALClientId</key>
<string>YOUR_CLIENT_ID</string>
<key>ADALRedirectUri</key>
<string>msauth.com.example.app://auth</string>
<key>ADALAuthority</key>
<string>https://login.microsoftonline.com/common</string>
</dict>

プラグインは次のように読み取っています。

  • ADALClientId
  • ADALRedirectUri
  • ADALRedirectScheme スキームのみを保存する場合、代替として使用する場合
  • ADALAuthority オプションで権威を上書きする場合

2. AppDelegateでMSALコールバックを前方に進める AppDelegate

セクション「2. AppDelegateでMSALコールバックを前方に進める」
import MSAL
func application(
_ app: UIApplication,
open url: URL,
options: [UIApplication.OpenURLOptionsKey: Any] = [:]
) -> Bool {
return MSALPublicClientApplication.handleMSALResponse(
url,
sourceApplication: options[.sourceApplication] as? String
)
}

MicrosoftのとIonicのIntuneガイドラインを参照してください。

  • the msauth... リダイレクトURIスキーム
  • キーシェアリング/キーシェアアクセスグループ
  • LSApplicationQueriesSchemes
  • NSFaceIDUsageDescription あなたのフローがバイオメトリクスを必要とする場合

これらはアプリ固有のものであり、プラグインによって推測できない。

Microsoftは、最終アプリ IntuneMAMConfigurator と特権を実行する必要があります。公式のIntune iOS __CAPGO_KEEP_0__から最新の設定ツールを取得し、ファイルが実質的に変更された場合にはそれを再実行してください。 Info.plist and entitlements. Use the latest configurator from the official Intune iOS SDK and rerun it whenever those files materially change.

「5. デプロイメントターゲットを維持する」セクション

現在の

ライン上にある組み込まれたIntune iOS SDKのため、アプリのターゲットはiOS 21.x またはそれ以降のものでなければなりません。 17.0 Because the bundled Intune iOS __CAPGO_KEEP_0__ is on the current line, your app target should remain at iOS or later.