Skip to content

Commit 44f2e2a

Browse files
committed
AB#4608: Convert blog post to article
1 parent b623c33 commit 44f2e2a

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

support/entra/entra-id/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@
263263
href: mfa/cannot-verify-account-reset-pwd.md
264264
- name: Microsoft Graph Users, Groups, and Entra APIs
265265
items:
266+
- name: Can't modify user mail or phone number attributes
267+
href: users-groups-entra-apis/cannot-modify-user-mail-phone-attributes.md
266268
- name: Handling errors in Graph API requests with Invoke-RestMethod
267269
href: app-integration/graph-api-error-handling-invoke-restmethod.md
268270
- name: Troubleshoot Authorization RequestDenied error
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Can't modify user mail or phone number attributes
3+
description: Provides a solution to an issue where you can't modify certain personal information for another user.
4+
ms.date: 03/20/2025
5+
ms.reviewer: bhvootla, adoyle, nualex, v-weizhu
6+
ms.service: entra-id
7+
ms.custom: sap:Getting access denied errors (Authorization)
8+
---
9+
# Can't modify user mail or phone number information
10+
11+
This article provides a solution to an issue where you can't modify certain personal information for another user, such as mail and phone number.
12+
13+
## Symptoms
14+
15+
You can't modify the following user attributes for another user:
16+
17+
- mobilePhone
18+
- businessPhones/telephoneNumber
19+
- otherMails
20+
21+
Most users experiencing this issue are Microsoft Graph service principals or Microsoft Entra users that use the client credentials grant type. Additionally, they get a 403 error.
22+
23+
## Cause
24+
25+
This issue occurs due to insufficient permissions. For Microsoft Entra users, the `User.ReadWrite.All` permission can change a user profile except the three user attributes. For Microsoft Graph service principals, having the `Directory.ReadWrite.All` permission isn't sufficient to modify the three user attributes.
26+
27+
## Solution
28+
29+
To resolve this issue, assign a Helpdesk Administrator, User Administrator, or Global Administrator role to the service principal or user that changes the three attributes, depending on the user that tries to modify the role. Only the three admins can make changes to the three attributes.
30+
31+
> [!CAUTION]
32+
> When you assign one of the three admin role to the service principal or user, you give them the ability to perform tasks at that level.
33+
34+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)