Prevent users from changing hostnames via Company Portal

Federico Coppola 120 Reputation points
2024-03-28T14:23:34.5033333+00:00

Hi all,
We enrolled some iPAD/iPhone using Intune using "Corporate Mode".
We deployed Microsoft Company Portal APP.
I noticed user are able to rename device using "Company Portal" application.
Is there a settings to avoid user can change hostname via "Company Portal"?

Thanks a lot!
Federico

Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
236 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,201 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 13,735 Reputation points Microsoft Vendor
    2024-03-29T02:48:46.23+00:00

    @Hussein Guleed,Thanks for posting in Q&A.

    From your description, I know you want to prevent users from changing hostnames via Company Portal

    Based on my research, Rename – This action changes the device name that the user can see in the Company Portal. It does not change the local device name, only the listing in the Company Portal. Therefore, it will not rename the device in the Intune portal.

    Moreover, there is no related feature in Intune can prevent users from changing hostnames via Company Portal, however, we can create a device name restriction policy to block users changing device name.

    Here are the steps.

    1.Go to Intune portal > Create an iOS configuration policy > Select iOS/iPadOS as platform, Setting catalog as Profile Type.

    2.In Configuration settings page, search Restrictions > Select Allow Device Name Modification and set to False.

    3.Assign it to device or user group

    User's image

    Then the device cannot change the device name.

    Hope it will help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


4 additional answers

Sort by: Most helpful
  1. glebgreenspan 2,240 Reputation points
    2024-03-28T15:44:45.1333333+00:00

    Hello

    Unfortunately, there is no direct setting within the Microsoft Company Portal app itself to prevent users from renaming their devices. However, you can prevent users from renaming their devices by enforcing device naming policies through Intune or Group Policy.

    In Intune, you can create device naming policies to enforce a specific naming convention for devices enrolled in your organization. This will prevent users from renaming their devices using the Company Portal app or any other method.

    Additionally, you can also use Group Policy settings to prevent users from changing their device names. You can set the "Prevent users from changing the computer name" policy in Group Policy to restrict users from renaming their devices.

    0 comments No comments

  2. Federico Coppola 120 Reputation points
    2024-03-28T15:59:39.81+00:00

    Hi @glebgreenspan,

    Thanks for your detailed reply.

    In Intune, you can create device naming policies to enforce a specific naming convention for devices enrolled in your organization

    That sounds interesting! Thank you!

    Additionally, you can also use Group Policy settings to prevent users from changing their device names. You can set the "Prevent users from changing the computer name" policy in Group Policy to restrict users from renaming their devices.

    I can't use Group Policy in my scenario.
    I am using MS Intune just to manage iOS, not Windows devices.

    0 comments No comments

  3. Federico Coppola 120 Reputation points
    2024-03-28T18:51:48.8933333+00:00

    Is "device naming policies" suitable for iOS devices?

    0 comments No comments

  4. FlorisZ 1 Reputation point
    2024-06-25T08:06:45.7933333+00:00

    What would be the reason to block users to rename their IOS device?

    Is it true that (Intune) policies are based on a specific name and when a user renames the device, these policies will break!?
    I would say this is a major flaw in Intune policies. Why not using the unique Object ID of the device, which is already known in Intue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.