Skip to content

Commit e4db1ef

Browse files
committed
configure-app-properties-with Microsoft Graph
1 parent 731bc4c commit e4db1ef

File tree

1 file changed

+86
-2
lines changed

1 file changed

+86
-2
lines changed

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

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.workload: identity
1111
ms.date: 09/22/2021
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

@@ -31,14 +33,96 @@ Application properties control how the application is represented and how the ap
3133

3234
To configure the application properties:
3335

36+
:::zone pivot="portal"
37+
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
45+
- Reply URL
46+
47+
:::zone-end
48+
49+
:::zone pivot="ms-powershell"
50+
51+
Use the following Microsoft Graph PowerShell script to configure basic application properties.
52+
53+
You'll need to consent to the `Application.ReadWrite.All` permission.
54+
55+
```powershell
56+
57+
Import-Module Microsoft.Graph.Applications
58+
59+
$params = @{
60+
Tags = @(
61+
"HR"
62+
"Payroll"
63+
"HideApp"
64+
)
65+
Info = @{
66+
LogoUrl = "https://cdn.pixabay.com/photo/2016/03/21/23/25/link-1271843_1280.png"
67+
MarketingUrl = "https://www.contoso.com/app/marketing"
68+
PrivacyStatementUrl = "https://www.contoso.com/app/privacy"
69+
SupportUrl = "https://www.contoso.com/app/support"
70+
TermsOfServiceUrl = "https://www.contoso.com/app/termsofservice"
71+
}
72+
Web = @{
73+
HomePageUrl = "https://www.contoso.com/"
74+
LogoutUrl = "https://www.contoso.com/frontchannel_logout"
75+
RedirectUris = @(
76+
"https://localhost"
77+
)
78+
}
79+
ServiceManagementReference = "Owners aliases: Finance @ [email protected]; The Phone Company HR consulting @ [email protected];"
80+
}
81+
82+
Update-MgApplication -ApplicationId $applicationId -BodyParameter $params
83+
```
84+
:::zone-end
85+
86+
:::zone pivot="ms-graph"
87+
88+
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.
89+
90+
You'll need to consent to the `Application.ReadWrite.All` permission.
91+
92+
Run the following Microsoft Graph query to configure basic application properties.
93+
94+
```http
95+
PATCH https://graph.microsoft.com/v1.0/applications/0d0021e2-eaab-4b9f-a5ad-38c55337d63e/
96+
Content-type: application/json
97+
98+
{
99+
"tags": [
100+
"HR",
101+
"Payroll",
102+
"HideApp"
103+
],
104+
"info": {
105+
"logoUrl": "https://cdn.pixabay.com/photo/2016/03/21/23/25/link-1271843_1280.png",
106+
"marketingUrl": "https://www.contoso.com/app/marketing",
107+
"privacyStatementUrl": "https://www.contoso.com/app/privacy",
108+
"supportUrl": "https://www.contoso.com/app/support",
109+
"termsOfServiceUrl": "https://www.contoso.com/app/termsofservice"
110+
},
111+
"web": {
112+
"homePageUrl": "https://www.contoso.com/",
113+
"logoutUrl": "https://www.contoso.com/frontchannel_logout",
114+
"redirectUris": [
115+
"https://localhost"
116+
]
117+
},
118+
"serviceManagementReference": "Owners aliases: Finance @ [email protected]; The Phone Company HR consulting @ [email protected];"
119+
}
120+
```
121+
:::zone-end
38122

39123
## Use Microsoft Graph to configure application properties
40124

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).
125+
You can also configure other advanced properties of both app registrations and enterprise applications (service principals) through Microsoft Graph. These includes 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).
42126

43127
## Next steps
44128

0 commit comments

Comments
 (0)