Support-Tip: (PAM) MIM PAM SAMPLE Portal | HTTP Error 500.19 - Internal Server Error

PROBLEM SCENARIO DESCRIPTION:

When creating the site with one of the following commands below fail when copying over sample portal :

clip_image002_thumb8.jpg

New-WebSite -Name "MIM Privileged Access Management Example Portal" -Port 8090 -PhysicalPath "C:\\Program Files\\Microsoft Forefront Identity Manager\\2010\\Privileged Access Management Portal\\"

New-Item "IIS:\Sites\MIM Privileged Access Management Example Portal" -physicalPath "C:\\Program Files\\Microsoft Forefront Identity Manager\\2010\\Privileged Access Management Portal\\" -bindings @{protocol="http";bindingInformation=":8090:"}

NOTE Technical Guide to Install and configure: https://technet.microsoft.com/enus/library/mt488767.aspx

 

Sample PAM App:

https://github.com/Azure/identity-management-samples

When created you attempt to navigate and you get the following screen below

clip_image004_thumb5.jpg

PROBLEM RESOLUTION:

Create the website VIA the IIS MMC as at this point it is unclear the issue from the command-line

Step 1 : Create the application pool

New-WebAppPool "MIMPAMEP"

Step 2: Create Empty Folder (C:\Program Files\Microsoft Forefront Identity Manager\2010\Privileged Access Management Portal)

Step 3: Create the site with IIS MMC

  • Select the Sites container --> Right Click --> select Add WebSite…

clip_image008_thumb2.jpg

  • Next you will need to fill in all the appropriate Information
    • Enter in : MIM Privileged Access Management Example Portal
    • Select the empty directory …
      • (C:\Program Files\Microsoft Forefront Identity Manager\2010\Privileged Access Management Portal) --> Click Ok
    • Enter Port: 8090
    • Click Ok

 

clip_image010_thumb2.jpg

Finally copy the sample site to the empty directory and then test

clip_image0123.jpg

clip_image0142.jpg

 

ADDITIONAL RESOURCES / INFORMATION

 

MIM 2016 - PAM DOCUMENTATION