Posts

Posts uit 2017 tonen

Azure: Powershell Workflows, speeding things up in azure! (and in AzureStack)

Here's a small snippet you can use in multiple ways to bulk create / modify / etc. do stuff against the azure API's in parallel.  The Example below is used against deleting all the resource groups in my subscription. (operation 'Green Field', ;) ) So let me give a little bit of context. When you're working in Azure you will notice doing things in a traditional sense means sequential working. Due to the inner workings of the API.  So instead of sending a job of 10 items i will send 10 times 1 item as separate posts to the API in azure. They will all be handled at once saving me the time of waiting forever....But be warned there is a limit to doing things simultaneously! so be smart about  this because if you lock up the API with bulk posts you could block other users due to the limit set by Microsoft. #Login to Azure to get the profile context ready. Login-AzureRmAccount #Fixed path for writing the profile to. $path = 'c:\temp\AzureRmContext.json' 

Azure: MFA on Premise switch license model or instance without changing the installation!

If you have an existing Azure MFA configuration running and you don't want to have the double per user cost you need to change your on premise configuration to match the new Azure SaaS MFA service. In my situation I started to work with "AAD" Premium which automatically also introduced a new MFA provider. Now since i don't want twice the per user fee I decided to reconfigure my existing MFA on premise configuration... First of al, it will look like you need to reinstall everything but this isn't true. Follow the steps below to reconfigure your on premise MFA to a new MFA ID. 1. login to Azure Active Directory (AAD), and go to the configuration tab in the classic portal (this feature isn't integrated yet in the preview AAD pane in ARM). 2. Open up the link for the MFA Service Provider "Manage Service Settings". 3. In the new windows on the bottom of the page hit the link "Go to the Portal"  4. Mean while login to your MFA (serv