Quantcast
Channel: Claims based access platform (CBA), code-named Geneva forum
Viewing all articles
Browse latest Browse all 2535

ADFS Install Failure in Azure VM

$
0
0

I'm attempting to build an ADFS 3.0 lab in Azure using the following guide:
http://mybitsofcloud.com/2015/01/adfs-lab-in-the-azure-my-singlesignon-lab-in-cloud-part2/

I'm using servers created from the gallery, so nothing unique.  I'm using Windows Internal Database as well.  Everything works fine until I go to add the ADFS role to my ADFS01 server.  When I run the wizard, it errors out with "Unable to cast object of type 'System.DBNull' to type 'System.String'.  When I run the install in powershell, I get a little more info.  "Unable to create VSS Express Writer".  The tracing log shows the following error:

Error: Exception: Unable to cast object of type 'System.DBNull' to type 'System.String'.

StackTrace:    at Microsoft.IdentityServer.Deployment.Core.VSSWriter.VSSWriter.GetSqlDataSourceName(String sqlConnectionString)

   at Microsoft.IdentityServer.Deployment.Core.VSSWriter.VSSWriter.CreateSqlLogicalPath(String sqlConnectionString)

   at Microsoft.IdentityServer.Deployment.Tasks.VSSWriterTask.<>c__DisplayClass4.<CreateAdfsVSSWriter>b__0()

   at Microsoft.IdentityServer.Configuration.UserAccountImpersonator.ImpersonatedExecute(ImpersonatedAction action)

   at Microsoft.IdentityServer.Deployment.Tasks.VSSWriterTask.CreateAdfsVSSWriter(IVSSWriterContext context)

   at Microsoft.IdentityServer.Deployment.Core.Tasks.ConfigurationTaskBase.Execute(IDeploymentContext context, IProgressReporter progressReporter)


Here's my powershell command:

Install-AdfsFarm `
 -CertificateThumbprint:"pretend there's a thumbprint here" `
 -FederationServiceDisplayName:"blahblahblah ADFS" `
 -FederationServiceName:"adfs.blahblahblah.com" `
 -GroupServiceAccountIdentifier:"blahblahblah\GMSA_ADFS`$" `
 -OverwriteConfiguration:$true `
 -SQLConnectionString:"Data Source=\\.\pipe\MICROSOFT##WID\tsql\query;Initial Catalog=ADFSConfiguration;Integrated Security=True;Min Pool Size=20"
 No idea what I'm missing as this is a fresh install in Azure using Microsoft's image and I'm running a canned wizard.



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>