Skip to content

Commit 0140c5d

Browse files
authored
Merge pull request #225154 from omondiatieno/application-properties-updates
configure-app-properties-with Microsoft Graph
2 parents 65babaa + 18326de commit 0140c5d

File tree

1 file changed

+88
-3
lines changed

1 file changed

+88
-3
lines changed

articles/active-directory/manage-apps/add-application-portal-configure.md

Lines changed: 88 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ ms.service: active-directory
88
ms.subservice: app-mgmt
99
ms.topic: how-to
1010
ms.workload: identity
11-
ms.date: 09/22/2021
11+
ms.date: 01/26/2023
1212
ms.author: jomondi
1313
ms.reviewer: ergreenl
14+
zone_pivot_groups: enterprise-apps-minus-aad-powershell
15+
1416
#Customer intent: As an administrator of an Azure AD tenant, I want to configure the properties of an enterprise application.
1517
---
1618

@@ -29,16 +31,99 @@ To configure the properties of an enterprise application, you need:
2931

3032
Application properties control how the application is represented and how the application is accessed.
3133

34+
:::zone pivot="portal"
35+
3236
To configure the application properties:
3337

3438
1. Go to the [Azure Active Directory Admin Center](https://aad.portal.azure.com) and sign in using one of the roles listed in the prerequisites.
3539
1. In the left menu, select **Enterprise applications**. The **All applications** pane opens and displays a list of the applications in your Azure AD tenant. Search for and select the application that you want to use.
3640
1. In the **Manage** section, select **Properties** to open the **Properties** pane for editing.
37-
1. Configure the properties based on the needs of your application.
41+
1. On the **Properties** pane, you may want to configure the following properties for your application:
42+
- Logo
43+
- User sign in options
44+
- App visibility to users
45+
- Set available URL options
46+
- Choose whether app assignment is required
47+
48+
:::zone-end
49+
50+
:::zone pivot="ms-powershell"
51+
52+
Use the following Microsoft Graph PowerShell script to configure basic application properties.
53+
54+
You'll need to consent to the `Application.ReadWrite.All` permission.
55+
56+
```powershell
57+
58+
Import-Module Microsoft.Graph.Applications
59+
60+
$params = @{
61+
Tags = @(
62+
"HR"
63+
"Payroll"
64+
"HideApp"
65+
)
66+
Info = @{
67+
LogoUrl = "https://cdn.pixabay.com/photo/2016/03/21/23/25/link-1271843_1280.png"
68+
MarketingUrl = "https://www.contoso.com/app/marketing"
69+
PrivacyStatementUrl = "https://www.contoso.com/app/privacy"
70+
SupportUrl = "https://www.contoso.com/app/support"
71+
TermsOfServiceUrl = "https://www.contoso.com/app/termsofservice"
72+
}
73+
Web = @{
74+
HomePageUrl = "https://www.contoso.com/"
75+
LogoutUrl = "https://www.contoso.com/frontchannel_logout"
76+
RedirectUris = @(
77+
"https://localhost"
78+
)
79+
}
80+
ServiceManagementReference = "Owners aliases: Finance @ [email protected]; The Phone Company HR consulting @ [email protected];"
81+
}
82+
83+
Update-MgApplication -ApplicationId $applicationId -BodyParameter $params
84+
```
85+
:::zone-end
86+
87+
:::zone pivot="ms-graph"
88+
89+
To configure the basic properties of an application, sign in to [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer) with one of the roles listed in the prerequisite section.
90+
91+
You'll need to consent to the `Application.ReadWrite.All` permission.
92+
93+
Run the following Microsoft Graph query to configure basic application properties.
94+
95+
```http
96+
PATCH https://graph.microsoft.com/v1.0/applications/0d0021e2-eaab-4b9f-a5ad-38c55337d63e/
97+
Content-type: application/json
98+
99+
{
100+
"tags": [
101+
"HR",
102+
"Payroll",
103+
"HideApp"
104+
],
105+
"info": {
106+
"logoUrl": "https://cdn.pixabay.com/photo/2016/03/21/23/25/link-1271843_1280.png",
107+
"marketingUrl": "https://www.contoso.com/app/marketing",
108+
"privacyStatementUrl": "https://www.contoso.com/app/privacy",
109+
"supportUrl": "https://www.contoso.com/app/support",
110+
"termsOfServiceUrl": "https://www.contoso.com/app/termsofservice"
111+
},
112+
"web": {
113+
"homePageUrl": "https://www.contoso.com/",
114+
"logoutUrl": "https://www.contoso.com/frontchannel_logout",
115+
"redirectUris": [
116+
"https://localhost"
117+
]
118+
},
119+
"serviceManagementReference": "Owners aliases: Finance @ [email protected]; The Phone Company HR consulting @ [email protected];"
120+
}
121+
```
122+
:::zone-end
38123

39124
## Use Microsoft Graph to configure application properties
40125

41-
You can also configure properties of both app registrations and enterprise applications (service principals) through Microsoft Graph. These can include basic properties, permissions, and role assignments. For more information, see [Create and manage an Azure AD application using Microsoft Graph](/graph/tutorial-applications-basics#configure-other-basic-properties-for-your-app).
126+
You can also configure other advanced properties of both app registrations and enterprise applications (service principals) through Microsoft Graph. These include properties such as permissions, and role assignments. For more information, see [Create and manage an Azure AD application using Microsoft Graph](/graph/tutorial-applications-basics#configure-other-basic-properties-for-your-app).
42127

43128
## Next steps
44129

0 commit comments

Comments
 (0)