You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To interact with Azure Active Directory these scripts use the [Microsoft.Graph.Applications](https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.applications/) module, import this module:
18
+
To interact with Microsoft Entra ID these scripts use the [Microsoft.Graph.Applications](https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.applications/) module, import this module:
|`ClientId`| yes | The client ID of the Azure Active Directory Application Registration for which the roles and assignments are retrieved. |
37
-
|`RolesAssignedToClientId`| no | The client ID of the Azure Active Directory Application Registration to which roles have been assigned, used when you only want to retrieve the assignments for this specific application. |
|`ClientId`| yes | The client ID of the Microsoft Entra ID Application Registration for which the roles and assignments are retrieved. |
37
+
|`RolesAssignedToClientId`| no | The client ID of the Microsoft Entra ID Application Registration to which roles have been assigned, used when you only want to retrieve the assignments for this specific application. |
#Role 'SecondRole' is assigned to the Active Directory Application 'client-application-one' with id '6ea09bbd-c21c-460c-b58a-f4a720f51826'
63
63
```
64
64
65
-
## Add a Role and Assignment for an Azure Active Directory Application
65
+
## Add a Role and Assignment for an Microsoft Entra ID Application
66
66
67
-
Adds a role assignment for an Azure Active Directory Application. The role will be added to the Azure Active Directory Application Registration defined by the `ClientId` parameter, and a role assignment for this role will be added to the Azure Active Directory Application Registration defined by the `AssignRoleToClientId` parameter.
67
+
Adds a role assignment for an Microsoft Entra ID Application. The role will be added to the Microsoft Entra ID Application Registration defined by the `ClientId` parameter, and a role assignment for this role will be added to the Microsoft Entra ID Application Registration defined by the `AssignRoleToClientId` parameter.
|`ClientId`| yes | The client ID of the Azure Active Directory Application Registration to which the role will be added if not present.|
72
-
|`Role`| yes | The name of the role. |
73
-
|`AssignRoleToClientId`| yes | The client ID of the Azure Active Directory Application Registration for which the role assignment will be created. The role assignment will be created based on the role added to the Azure Active Directory Application Registration defined by the `ClientId`. |
|`ClientId`| yes | The client ID of the Microsoft Entra ID Application Registration to which the role will be added if not present. |
72
+
|`Role`| yes | The name of the role. |
73
+
|`AssignRoleToClientId`| yes | The client ID of the Microsoft Entra ID Application Registration for which the role assignment will be created. The role assignment will be created based on the role added to the Microsoft Entra ID Application Registration defined by the `ClientId`. |
|`ClientId`| yes | The client ID of the Azure Active Directory Application Registration containing the role for which the assignment must be removed. |
94
-
|`Role`| yes | The name of the role. |
95
-
|`RemoveRoleFromClientId`| yes | The client ID of the Azure Active Directory Application Registration for which the role assignment will be removed. |
96
-
|`RemoveRoleIfNoAssignmentsAreLeft`| no | Indicate whether to remove the role from the Azure Active Directory Application Registration defined by the `ClientId` parameter when no more role assignments remain for the role. |
|`ClientId`| yes | The client ID of the Microsoft Entra ID Application Registration containing the role for which the assignment must be removed. |
94
+
|`Role`| yes | The name of the role. |
95
+
|`RemoveRoleFromClientId`| yes | The client ID of the Microsoft Entra ID Application Registration for which the role assignment will be removed. |
96
+
|`RemoveRoleIfNoAssignmentsAreLeft`| no | Indicate whether to remove the role from the Microsoft Entra ID Application Registration defined by the `ClientId` parameter when no more role assignments remain for the role. |
Copy file name to clipboardExpand all lines: docs/preview/03-Features/powershell/azure-api-management.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Azure API Management"
2
+
title: "API Management"
3
3
layout: default
4
4
---
5
5
@@ -108,7 +108,7 @@ Sign-up or invite a new user in an existing Azure API Management instance.
108
108
|`UserId`| no | The UserId that will be used to create the user |
109
109
|`Password`| no | The password that the user will be able to login with |
110
110
|`Note`| no | A note that will be added to the user |
111
-
|`SendNotification`| no | Whether or not a notification will be sent to the email address of the user |
111
+
|`SendNotification`| no | Whether or not a notification will be sent to the email address of the user |
112
112
|`ConfirmationType`| no | The confirmation type that will be used when creating the user, this can be `invite` (default) or `signup`|
113
113
|`ApiVersion`| no | The version of the management API to be used. (default: `2021-08-01`) |
114
114
|`SubscriptionId`| no | The Id of the subscription containing the Azure API Management instance. When not provided, it will be retrieved from the current context (Get-AzContext). |
0 commit comments