mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-18 03:43:39 +00:00
Merge pull request #8865 from illfated/patch-5
Update basic-permissions.md
This commit is contained in:
@ -37,11 +37,13 @@ You can use either of the following solutions:
|
|||||||
For granular control over permissions, [switch to role-based access control](rbac.md).
|
For granular control over permissions, [switch to role-based access control](rbac.md).
|
||||||
|
|
||||||
## Assign user access using Azure PowerShell
|
## Assign user access using Azure PowerShell
|
||||||
|
|
||||||
You can assign users with one of the following levels of permissions:
|
You can assign users with one of the following levels of permissions:
|
||||||
- Full access (Read and Write)
|
- Full access (Read and Write)
|
||||||
- Read-only access
|
- Read-only access
|
||||||
|
|
||||||
### Before you begin
|
### Before you begin
|
||||||
|
|
||||||
- Install Azure PowerShell. For more information, see, [How to install and configure Azure PowerShell](https://azure.microsoft.com/documentation/articles/powershell-install-configure/).<br>
|
- Install Azure PowerShell. For more information, see, [How to install and configure Azure PowerShell](https://azure.microsoft.com/documentation/articles/powershell-install-configure/).<br>
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
@ -61,19 +63,20 @@ Assigning read-only access rights requires adding the users to the "Security Rea
|
|||||||
Use the following steps to assign security roles:
|
Use the following steps to assign security roles:
|
||||||
|
|
||||||
- For **read and write** access, assign users to the security administrator role by using the following command:
|
- For **read and write** access, assign users to the security administrator role by using the following command:
|
||||||
```text
|
```PowerShell
|
||||||
Add-MsolRoleMember -RoleName "Security Administrator" -RoleMemberEmailAddress "secadmin@Contoso.onmicrosoft.com"
|
Add-MsolRoleMember -RoleName "Security Administrator" -RoleMemberEmailAddress "secadmin@Contoso.onmicrosoft.com"
|
||||||
```
|
```
|
||||||
- For **read-only** access, assign users to the security reader role by using the following command:
|
- For **read-only** access, assign users to the security reader role by using the following command:
|
||||||
```text
|
```PowerShell
|
||||||
Add-MsolRoleMember -RoleName "Security Reader" -RoleMemberEmailAddress "reader@Contoso.onmicrosoft.com"
|
Add-MsolRoleMember -RoleName "Security Reader" -RoleMemberEmailAddress "reader@Contoso.onmicrosoft.com"
|
||||||
```
|
```
|
||||||
|
|
||||||
For more information, see, [Add, or remove group memberships](https://technet.microsoft.com/library/321d532e-407d-4e29-a00a-8afbe23008dd#BKMK_ManageGroups).
|
For more information, see [Add or remove group members using Azure Active Directory](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-groups-members-azure-portal).
|
||||||
|
|
||||||
## Assign user access using the Azure portal
|
## Assign user access using the Azure portal
|
||||||
For more information, see [Assign administrator and non-administrator roles to uses with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal).
|
|
||||||
|
|
||||||
|
For more information, see [Assign administrator and non-administrator roles to users with Azure Active Directory](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal).
|
||||||
|
|
||||||
## Related topic
|
## Related topic
|
||||||
|
|
||||||
- [Manage portal access using RBAC](rbac.md)
|
- [Manage portal access using RBAC](rbac.md)
|
||||||
|
Reference in New Issue
Block a user