0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Intune登録時にカスタムドメインを利用する

Last updated at Posted at 2025-11-16

最初の設定

Entra IDはsimari.xyzというカスタムドメインを使用している。
image.png

DNS Serverでは以下のようにドメイン名の検証が住んでいる状態。
image.png

ユーザーは基本的にmyuser@simari.xyzというような形でログインが可能な状態。

Intune側設定

自動登録は有効な状態。
image.png

この状態の場合Intune PortalでCNAME検証を実行すると
image.png

エラーになる。

CNAME for simari.xyz not configured or configured incorrectly.
image.png

クライアント側でIntune登録時に起きるエラー

上記がエラーの状態のままだと、端末を職場のアカウントでIntune登録しようとすると、Entra登録はできるが、Intune登録がエラーになる。

image.png

image.png

"We couldn't auto-discover a management endpoint matching the username entered. Please check your username and try again. If you know the URL to your management endpoint, please enter it."
image.png
(一応この画面で自動登録用のURLを上記のように入れれば登録は完了できるが毎回エラーがでるのでスマートとは言えない。)

どういうことかというと、Automatic EnrollmentでこのURLを本当は見に行ってほしいのだが、simari.xyzという知らないドメイン名が渡された場合、このURLを見に行けない。

Entra側で設定したカスタムドメインがIntune側に伝わってないということなんだな、、、。

MDM登録用のカスタムエンドポイントをDNS Serverに設定

enterpriseenrollment.{domain}
enterpriseregistration.{domain}

DNS Server側で自動登録の際に見に行くURLを登録してやればいい。
image.png

Intune側の自動登録もOK。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?