Skip to content

Commit

Permalink
conditional access in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyDuong00 committed Jul 11, 2024
1 parent 00cc8b1 commit 62af3ec
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions content/2 Azure Services/Azure Conditional Access Policies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

In order to implement conditional access policies, we need to disable the default ones put in place by Azure.

Navigate to [[Entra ID]], under Properties select 'Manage security defaults':
![[Pasted image 20240711090321.png]]

In the 'Security defaults' choose the 'Disabled' option in the dropdown and click save:

![[Pasted image 20240711090654.png]]

In [[Entra ID]], select 'Create new policy':

![[Pasted image 20240711090810.png]]


Give the policy a name and select the scope of the policy, here we are blocking user access to the Azure portal:

![[Pasted image 20240711092226.png]]


In the 'Target resources' section, select 'Cloud apps', and select 'Microsoft Admin Portals'. This will block access to Microsoft 365 admin center, Exchange admin center, Azure portal, Microsoft Entra admin center:

![[Pasted image 20240711093155.png]]

In the Conditions, we can configure access based on signals such as location and device state. For this demonstration, we will totally block access so we will not configure anything here:

![[Pasted image 20240711093316.png]]

In the Grant section, select 'Block access' as we are completely blocking access for the user. Instead, we can allow access depending on various factors:

![[Pasted image 20240711093612.png]]

Turn on the 'Enable policy' and click Create:

![[Pasted image 20240711093804.png]]

The user is now blocked from accessing the Azure portal.

## Checking Sign in Logs
To check the sign in logs, navigate to [[Entra ID]] > Conditional Access > Monitoring > Sign in logs. Here we can see the user that signed in, the application and various other datapoints such as date and access location.

![[Pasted image 20240711101342.png]]
Binary file added content/Pictures/Pasted image 20240711090321.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711090654.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711090810.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711092226.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711093155.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711093316.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711093612.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711093804.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/Pictures/Pasted image 20240711101342.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 62af3ec

Please sign in to comment.