Archive for October, 2015

Error :
Encountered error during federation passive request.

Exception details:
Microsoft.IdentityServer.RequestFailedException: MSIS7065: There are no registered protocol handlers on path /adfs/ls/idinitatedsignon.aspx to process the incoming request.
at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)


1) Check the SPN on the service account (In my case it is a GMSA)

GMSA screenshot

2) Check if your service account has rights on the certificate



This happens when you have a VM (running in azure ). A VNET is not assigned to the VM and we are trying to assign it a static IP. We would keep on getting the above error which is in the subject. To over come this we need to follow the steps mentioned below
1) Delete the VM from the azure console but DONOT DELETE THE DISK.
2) Create a Vnet (assign a subnet to it)
3) Recreate the VM and attach the disk which was NOT deleted in step one.
4) Now run the below cmdlet
Get-AzureVM -ServiceName fazalsfirstvm -Name fazalsfirstvm | Set-AzureStaticVNetIP -IPAddress | Update-AzureVM

Hope this helps.