Posts

Publish Azure MFA user portal via ADFS WAP(Web Access Proxy)

Image
I often wonder why most of ADFS WAP technet articles are verbose, Here goes important checkpoints to publish a web page via ADFS WAP, an example of page used here is Azure MFA(Multi-Factor Authentication) User Portal. The page won't cover ADFS installation but ADFS WAP. 1.  System Diagram Hostname       FQDN                                          Intranet IP ADFS WAP     th-adfs2012WAP.mfalab3.com    10.0.0.6         ==>  !! Not domain joined !! ADFS server    th-adfs2012.mfalab3.com            10.0.0.5 AD/MFA :        th-ad01.mfalab3.com                  10.0.0.4 2.  Check Certificate issued and distributed, type the command " dir Cert:\LocalMachine\My" on both ADFS and ADFS WAP PS C:\Users\taehe...

How to enable Multi-Factor Authentication for Azure AD account login

Image
This is a step by step guide for enabling Azure Multi-Factor Authentication for Azure AD Users. The procedure is pretty straight forward, 1.      Login into Azure Portal -> Active Directory -> Users -> Manage MULTI-FACTOR AUTH at the bottom 2.      Select a user/users to enable Multi-Factor Authentication 3.      Pop-up displays, continue “enable Multi-Factor Authentication” 4.       Confirm “enabled” 5.      Continue “Enforce” 6.      Continue “Enforce”

Azure Automation step-by-step guide for Auto-Shutdown Virtual Machine.

Image
-      Create an Azure account   -       Go “setting” and assign the user as the Co-administrator -       Select automation and create an Automation Account, in this example “gwauto" -       Select the created Automation Account -       Create a new runbook, in the example, “shutdown-vm” -       Click runbook “shutdown-vm” to create/edit a script -       Click Author -> insert script -> Test -> Publish ===================== Script example of shutdown-vm===================== workflow shutdown-vm { $username = "azureauto@mfa01.onmicrosoft.com" $pass = "      " $password=$pass|ConvertTo-SecureString -AsPlainText -Force $mycred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$password Add-AzureAccount -Cr...

Configure Sharepoint access from External network

Image
Step 1. From Central Administration, select "Configure alternative access mapping". Step 2. Select URL to be edited and click "Edit Public URLs". Step 3. Enter desired IP or URL shown below. Step 4. Enter desired IP or URL shown below. See Also SharePoint Resources on the TechNet Wiki SharePoint 2013 Portal SharePoint 2013 - Service Applications SharePoint 2013 - Resources for Developers SharePoint 2013 - Resources for IT Pros

Step by step instruction for forms based authentication in SharePoint 2013

Image
Step 1. From Sharepoint Central Administration page. Click New to create a New Web App.    - Creat New Web App continue,   Step 2. Start “aspnet_regsql.exe” to connect SQL Database and follow screenshots. Step 3. From IIS, configure “Connection and Providers”. ** Follow the same Connection and Providers to "SecurityTokenServiceApplication" Step 4. Back to Sharepoint Central Administration page, then enable “Forms Based Authentication” for created new application on step 1. Provider names are created providers on IIS in step 3. Step 5. Go to Sign In page to check “Authentication Page” shows as expected. Step 6. In IIS setup, Set Default Provider for Roles and Users. Step 7. Add preferred users to be “Forms Authenticated”. Step 8. Back to login page and test login.

Graphical desktop (X Windows System) access to Azure Linux VM

From the client, Download x2goclient, http://wiki.x2go.org/doku.php/doc:installation:x2goclient From the server Install X2Go Server sudo apt-get install python-software-properties sudo apt-get install software-properties-common sudo add-apt-repository ppa:x2go/stable sudo apt-get update sudo apt-get install x2goserver x2goserver-xsession MATE Bindings sudo apt-get install x2gomatebindings KDE Plasma Bindings sudo apt-get install plasma-desktop XFCE Bindings sudo apt-get install xfce4 LXDE Bindings sudo apt-get all x2golxdebindings RDP Bindings sudo apt-get install xrdp Check if x2goserver is running ubuntu:~$ service --status-all | grep x2go  [ + ]  x2goserver

Powershell Script: Task scheduler – Scheduling shutdown Azure VMs

Image
In this article, you will be able to setup task scheduler to run an Azure PowerShell script. Automatic shutdown VMs will be used as an example – save money!! Table of Contents 1. Create a schedule 2. Triggers (Daily in the example) 3. Enter “powershell.exe” and location of the script in “Add arguments” Example of “PowerShell scripts to shutdown VM script” 1. Create a schedule   2. Triggers (Daily in the example) 3. Enter “powershell.exe” and location of the script in “Add arguments”   Example of “PowerShell scripts to shutdown VM script” Download script from  http://social.technet.microsoft.com/wiki/contents/articles/30929.azure-automation-step-by-step-guide-for-auto-shutdown-virtual-machine.aspx