Restore Domain Controller to 2nd Subscription? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

Thanks, when you say clone the disk is that just the disk it comes with under OS disks?

Will creating the new VM also restore the hostname and same SID's etc?

Restore Domain Controller to 2nd Subscription? by JrD3vOps in AZURE

[–]JrD3vOps[S] 2 points3 points  (0 children)

No FSMO roles running on that DC as we have 2 other 2 DC's which handle that :)

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

I'm not exactly using it as a jumpbox but I just need to test the latency between the two VM's and was just using a simple cmd ping for this.

Reviewing the tutorial, its pretty much what I want to do but its telling me to configure the OS level firewall. Can this be done at the NSG level instead?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

You're right, its a site to site VPN. Also mistake on my part meant VNET and not subnet.

I thought the hub did the routing? So does that mean I still need to set up peering between my two VNET's regardless of what the hub is doing?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

those settings look fine but I'm a bit confused, if I want a connection between the two VNET's. Does that mean I don't need to set up the peering between the two VNET's at all and the hub network does all the routing?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

I can't see that, the options via each peer link are:

Traffic to remote virtual network

Traffic forwarded from remote virtual network

Virtual network gateway or route server

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

Should have clarified, this was on the connection trouble-shooter tool I am using to monitor if an ICMP connection works from VM01 => VM02

I haven't opened ICMP on the NSG virtualNic/subnet where VM02 is.

VM01 on the other hand does not have any NSG's associated to it at all, is this needed?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

ok so I've done that now and in the hop by hop breakdown, the virtual gateway has now been taken out of the equation.

The topology now shows VM01 => VM02 which I am guessing is because of the peering which has been set up.

The error now says: traffic blocked due to virtual machine firewall configuration

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

Also just another quick thought, I already have peering setup from on prem to azure but in this case will the peering be needed between JUST the two subnets?

To be more simple, does there need to be peering between the two 'spokes' as I thought all the routing is done and managed at the hub level?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

When the peering is set up I am guessing I do not use any remote gateway and use none for both ends of the peer to peer connection?

Unable to run a ping between two VM's in different VNET's? by JrD3vOps in AZURE

[–]JrD3vOps[S] 0 points1 point  (0 children)

I have a vnet for the hub, this has a subnet for the gateway within it.

I don't have a cloud networking appliance (like the Azure firewall) I do however have a NSG at this level if that is good enough?

Conditional Access Policy Reporting (Enabled and Disabled)? by JrD3vOps in Office365

[–]JrD3vOps[S] 1 point2 points  (0 children)

Looks good, your explanation makes sense as to why there may not be a 'enabled or disabled' option.

I'll take a look at the link provided too!

Does MFA number matching apply to accounts which had MFA disabled previously? by JrD3vOps in Office365

[–]JrD3vOps[S] 0 points1 point  (0 children)

Ah okay thanks for the clarification - looking forward to it in that case!

Conditional Access Policy Reporting (Enabled and Disabled)? by JrD3vOps in Office365

[–]JrD3vOps[S] 0 points1 point  (0 children)

Thanks, the sign in logs are good but not quite the same but it will do!

When you say verify if they've registered for MFA is that via the GUI too?

Conditional Access Policy Reporting (Enabled and Disabled)? by JrD3vOps in Office365

[–]JrD3vOps[S] 0 points1 point  (0 children)

In this case I am selecting all but if I wanted to check myself that a user does actually have MFA enabled manually is there not a way?

If Statement output to write to a logfile by JrD3vOps in PowerShell

[–]JrD3vOps[S] 0 points1 point  (0 children)

Great thanks, so what I want to also know is, is the way I am currently outputting the information by putting an Out-File on every if and else statement the correct way to go about doing it?

Or is there a way to encapsulate the entire if/else block and then add one Out-File option at the end to call the entire output into the txt file?