Unable to load ADFS 2.0 in Windows Server 2.0

I am trying to federate a domain in Office 365. The AD FS servers are running Windows 2012 R2 and AD FS appears to be working properly. The errors I receive are shown below.
PS C:\Windows\system32> import-module msonline
PS C:\Windows\system32> Connect-MsolService    [credentials entered]
PS C:\Windows\system32> get-msoldomain
Name                                                                                   
Status          Authentication
contoso.com                                                                          
Verified        Managed
adatum.com                                                                    
Verified        Managed
fabrikam.com                                                                        
Verified        Managed
PS C:\Windows\system32> Convert-MsolDomainToFederated -domainname contoso.com
Convert-MsolDomainToFederated : Failed to connect to Active Directory Federation Services 2.0 on the local machine.
Please try running Set-MsolADFSContext before running this command again.
At line:1 char:1
+ Convert-MsolDomainToFederated -domainname contoso.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Convert-MsolDomainToFederated], FederationException
    + FullyQualifiedErrorId : InvalidCommandSequenceGeneva,Microsoft.Online.Identity.Federation.Powershell.ConvertDoma
   inToFederated
PS C:\Windows\system32> Set-MsolADFSContext -Computer ADFS01
Set-MsolADFSContext : Unable to load the Active Directory Federation Services 2.0 snap-in for Windows PowerShell.
At line:1 char:1
+ Set-MsolADFSContext -Computer ADFS01
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Set-MsolADFSContext], FederationException
    + FullyQualifiedErrorId : SnapInLoadFailed,Microsoft.Online.Identity.Federation.Powershell.ContextCredentialsComma
   nd
I've not had this problem before when using Server 2008 R2.  What do I have to do to the AD FS server to make this work?
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

I'm going to answer my own question.  The following registry key and values were present.  There are blog and forum posts suggesting that this needs to be added, but they only apply to Windows Server 2012, not Windows 2012 R2.  Further, this
registry key and values were present on my servers even though I did not add them manually.
Removing this key, which removes the values underneath, solved my problem.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Adfs.PowerShell]
"ApplicationBase"="C:\\Windows\\ADFS"
"Version"="6.2.0.0"
"AssemblyName"="Microsoft.IdentityServer.PowerShell, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Description"="This powershell snap-in contains cmdlets used to manage Microsoft Identity Server resources."
"PowerShellVersion"="1.0"
"ModuleName"="C:\\Windows\\ADFS\\Microsoft.IdentityServer.PowerShell.dll"
"Vendor"="Microsoft"
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

Similar Messages

  • Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Unistall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Uninstall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    I had gotten a similar problem, except with "provider services", i believe, but i solved it by copying sqlite3.dll from E:\Program Files\Common Files\Apple\Apple Application Support to E:\Program Files\Common Files\Apple\Mobile Device Support. doing that solved my first problem, but now i have been getting the error described in this topic (unable to load dataclass info... etc.). i tried reinstalling itunes (i already had 9.1.1, and thats what i reinstalled) by using the method described on apples site (using the "remove programs" tool in the control panel) and then downloading and installing itunes. when i opened it again, i still got the same error, and just now i got an error saying "the instruction at "0x00aadb6b" referenced memory at "0x00000008". the memory could not be read" it gave me the option to cancel and debug, or to press ok and terminate the program. I tried pressing cancel, and the popup went away but nothing else happened. a minute later the popup was back, so i pressed ok and itunes quit. Upon opening Itunes again, i got the very same error. sorry for the long post, but its really been bugging me. thanks for any help you might give, and if you need anymore info, feel free to contact me.

  • Unable to install Sharepoint Foundation 2013 in Windows Server 2012 for FIM 2010 R2

    HI,
    I am Unable to install Sharepoint Foundation 2013 in Windows Server 2012 for FIM 2010 R2,
    Before SharePoint Foundation 2013 installation I installed all prerequisite software that is required for SharePoint Foundation 2013 but when we run SharePoint Foundation 2013 setup that gives below error so I am requesting you please help on this.
    Setup is unable to proceed due to the following error(s):
    Windows Server Appfabric is not correctly configured.You should unistall Windows Server Appfabric and reinstall it using the SharePoint Products Preparation Tool.
    Regards
    Anil Kumar

    You really need to do what error is suggesting.
    Windows Server Appfabric is not correctly configured.You should unistall Windows Server Appfabric and reinstall it using the SharePoint Products Preparation Tool.
    Nosh Mernacaj, Identity Management Specialist

  • Unable to load resouce ,javafx-jmc-natives-windows-i586__V1.2.3_b36.jar

    com.sun.deploy.net.FailedDownloadException: unable to load resouce :http://dl.javafx.com/javafx-jmc-natives-windows-i586__V1.2.3_b36.jar
    hi,
    i meet a exception as up when i run the html,is there anybody know why?

    What is your browser/Java version and OS?
    Do you see same exception if you try to view applets on http://javafx.com?
    Is your system online when you are trying to load your app?
    E.g. try to load http://dl.javafx.com/javafx-jmc-natives-windows-i586__V1.2.3_b36.jar in the browser. Is this file accessible?
    Can you share html page you are trying to view?
    How do you view it? Open in browser or run NB project?
    Have you tried to clear browser cache?

  • When I connect my iphone4s to itunes on  my laptop I get this error...itunes was unable to load data class info from sync serv

    When I connect my iphone4s to itunes on  my laptop I get this error...itunes was unable to load data class info from sync serv

    In the course of your troubleshooting to date, have you worked through the following document?
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • Unable to install Directory Sync tool in windows server 2008 R2 Eneterprise

    Hi,
    I am unable to install Directory Sync  in windows server 2008 R2 Eneterprise.i have joined my machine domain joined computer running Windows Server 2008 r2 enterprise,when i click dirsync.exe then gives below Error.
    The Windows Azure Active Directory Sync tool must be installed on a domain joined computer running Windows Server 2008 Service Pack 2 or later,or Windows Server 2008 r2 Service Pack 1 or later
    Please help on this why this happing when i try to installed DirSync software.
    Regards
    Anil Kumar

    Hi,
    have you already installed .net framwork 3.5 and 4.5.1 on that machine?
    http://technet.microsoft.com/en-us/library/jj151831.aspx
    Also make sure that you run the install command from an elevated command prompt.
    Hope that helps,
    Lutz

  • Unable to reinstall WSUS on air-gapped Windows Server 2008 R2 SP1 server

    A co-worker installed WSUS on an air-gapped (not connected to the Internet) server running Windows Server 2008 R2 SP1, but he wasn't sure he'd configured everything properly, and asked me to uninstall and reinstall it.  The uninstallation went without
    a hitch, but reinstalling through the Server Manager gives the error message "The update could not be found.  There may be a network connection issue."  The Server Manager log shows the following:
    8632: 2014-04-25 15:30:22.578 [Provider]                  System changed since last refresh: False
    8632: 2014-04-25 15:30:29.489 [InstallationProgressPage]  Loading progress page...
    8632: 2014-04-25 15:30:29.520 [InstallationProgressPage]  Creating WindowsUpdateDownloader.
    8632: 2014-04-25 15:30:29.535 [InstallationProgressPage]  Searching for Updates...
    8632: 2014-04-25 15:30:29.535 [InstallationProgressPage]  Starting asynchronous download.
    8632: 2014-04-25 15:30:29.535 [WindowsUpdateDownloader]   Creating session.
    8632: 2014-04-25 15:30:29.535 [WindowsUpdateDownloader]   Search query: 'CategoryIDs contains '4e487029-f550-4c22-8b31-9173f3f95786''
    8632: 2014-04-25 15:30:29.582 [WindowsUpdateDownloader]   Searching....
    8632: 2014-04-25 15:33:07.906 [WindowsUpdateDownloader]   Search failed, HRESULT: -2145107924, message: Exception from HRESULT: 0x8024402C
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Search completed, result: Failed.
    8632: 2014-04-25 15:33:07.921 [WindowsUpdateDownloader]   Sending failure DownloadComplete event.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Download completed, result: NotStarted.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage] Error (Id=0) Failure message: 'The update could not be found. There may be a network connection issue. <a href="WSUS.chm::/html/54a9eb1f-5dd1-42d8-ad00-dae55d7b9463.htm">Click here for
    more information.</a>'
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Invoking LoadFinishPage.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  About to load finish page...
    8632: 2014-04-25 15:33:07.937 [InstallationFinishPage]    Loading finish page
    8632: 2014-04-25 15:33:07.953 [InstallationFinishPage]    Finish page loaded
    Any ideas?

    Hi,
    0x8024402C WU_E_PT_WINHTTP_NAME_NOT_RESOLVED
    Winhttp SendRequest/ReceiveResponse failed with 0x2ee7 error. Either the proxy server or target server name cannot be resolved. Corresponding to ERROR_WINHTTP_NAME_NOT_RESOLVED.
    Stop/Restart service or reboot the machine if you see this error frequently.
    Since the server is not connect to the internet, at least it should have an available upstream server. Did you configure it correctly? The error message indicate that the
    name could not resolved, make sure you can resolve the name of the upstream server. Run nslookup check the result.
    If it is the only WSUS, then give it internet connection and test.
    Hope this helps.

  • Unable to do Bare Metal Restore on Windows Server 2008R2 Backup from USB Seagate Backup Plus Harddrive

    I have done a windows full server backup on to an external Seagate HDD on a Dell PowerEdge T110 II Server running Windows Server 2008 R2
    I want to clone this and do a Bare Metal Restore on an identical server at home which has Windows Server 2008 R2 on it.
    I boot from the Windows DVD provided, select repair however windows Server 2008 R2 will not find the image of the Seagate drive. The Seagate drive can be seen on the server otherwise. I guess there are options to load the driver, but I don't see them.
    Please help. Kind of stuck here
    Thanks

    I am using a windows server 2008R2 disk to boot up. Both the servers have windows server 2008R2 on them. I have two licenses for each of the servers. I want to use the server at home as a backup server in case the server in office  goes down. I used
    windows server backup to backup the server at work to a portable USB hard drive. I bought the hard drive home and want to clone the server at work. I heard bare metal restore is the best way to do this. So I booted the server at home with the windows server
    2008 r2 disk that I have and clicked repair. I had attached my seagate portable drive to the usb port so that the server could find the image of the server at work, however the server cant find the hard drive or the server image. Is it a problem with my usb
    hard drive? Do I need a specific type of usb hard drive to do server image backups?
    If I let my server at home boot regularly and it comes up, it can see the image on the hard drive so I dont know how to do the bare metal restore. I know it can be done becuase my IT guy did it when he set up both the servers. I just want to periodically
    clone them so make sure the server at home is updated with the settings of the server at work.
    Thanks for any help here

  • Unable to install Network Adapter Driver for Windows Server 2012

    Hi,
    We have purchased a new computer for our office. And on that machine, we want to install Windows Server 2012 Standard with GUI.
    Windows Server got installed on that machine. But we are unable to install drivers for our LAN card Intel® 82579V Gigabit Network Connection.
    Please help us to get it working.
    Thanks,
    Ronak Shah

    It is not working as the system is having Intel® 82579V Gigabit Network Card
    I guess, it's not supported on windows server 2012
    https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=3299&DwnldID=18725&ProductFamily=Ethernet+Components&ProductLine=Ethernet+Controllers&ProductProduct=Intel%C2%AE+82579+Gigabit+Ethernet+Controller&lang=eng
    NOTE: The following devices do not have driver or software support for Windows Server
    2008 R2:
     - Intel® 82566MC Gigabit Network Connection
     - Intel® 82566MM Gigabit Network Connection
     - Intel® 82567LF Gigabit Network Connection
     - Intel® 82567V Gigabit Network Connection
     - Intel® 82577LC Gigabit Network Connection
     - Intel® 82579V Gigabit Network Connection
    Regards, Santosh
    I do not represent the organisation I work for, all the opinions expressed here, are my own.
    This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Blog |
    Wiki

  • Unable to install MS Office 2010 in Windows server 2008R2

    I am trying to install MS Office 2010 in windows server 2008R2. Office installed and then immediately it rollback and installation end up with an error "microsoft office professional plus 2010 encountered an error during setup ".I tried many
    things on searching net but nothing works.

    Hi,
    In addition to Don's post, you can refer to this kb below:
    How to use a setup log to troubleshoot setup problems in Office
    http://support.microsoft.com/kb/826511/en-us
    I also suggest you perform the install in Windows Clean Boot mode:
    http://support.microsoft.com/kb/929135
    Regards,
    Melon Chen
    TechNet Community Support

  • Unable to install DOT NET patch in windows server 2008 standard.

    We want to install patch of DOT NET in windows server 2008  standard but we are faced error like.
    KB2468871v2 does not apply, or
    is blocked by another condition on your computer.
    So please do needful for it as soon as possible.
    Bhavesh

    Hi sbpl,
    If you are able to repair .net 4.0 without error, please go head and install KB2468871 again.
    Download .NET Framework 4.0 full package, double click to launch, select repair.
    http://www.microsoft.com/en-us/download/details.aspx?id=17718
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to load php file into native window..

    Hi Guys,
    Im using flash cs3 as my development environment. what i was trying to do is creating a small login application using Air. I must say im still a newbie to flash air. as far as my login system concern i have managed following tasks,
    1. send username ans password using post and validate through php
    2. get the result back to flash application and open up a new native air window if the login is success.
    3. close the login window.
    now what i want to do is load my PHP application inside that newly open native window. How can i do it. I tried using Loader() method but it only worked for images not for php or html files.
    heres how I tried to use the loader method,
    var url:String = "http://localhost/Flash/login/welcome.php";
    var fileLoader:Loader = new Loader();
    fileLoader.load(new URLRequest(url));
    win.stage.addChild(fileLoader);
    This failed.
    Does anyone know how to load a PHP file into a Native window? Your help highly appreciate it.
    Just in case for the people who wants to know who I did the above mentioned tasks heres the code,
    Posting data to PHP server
    function sendLoginData() {
         if(txtUserName.text=='')
              txtBox.text = 'Username is empty';
         else if(txtPassword.text=='')
              txtBox.text = 'Password is empty';
         else
              var variables:URLVariables = new URLVariables();
              variables.UserName = txtUserName.text;
              variables.Password = txtPassword.text;
              var request:URLRequest = new URLRequest("http://localhost/Flash/login/login.php"); 
              var loader:URLLoader = new URLLoader(); 
              loader.dataFormat = URLLoaderDataFormat.TEXT; 
              request.data = variables; 
              request.method = URLRequestMethod.POST; 
              loader.addEventListener(Event.COMPLETE, handleComplete); 
              loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError); 
              loader.load(request);
    Handdle the returned data
    function handleComplete(event:Event):void
         var variables:URLVariables = new URLVariables(event.target.data); 
         if(variables.errorcode==0)
              var url:String = "http://localhost/Flash/login/welcome.php";
              try {                             
                   //Native window
                   var options:NativeWindowInitOptions = new NativeWindowInitOptions();
                   options.systemChrome = NativeWindowSystemChrome.STANDARD;
                   options.transparent = false;
                   options.maximizable=false;
                   var win:NativeWindow = new NativeWindow(options);
                   win.title = 'welcome page';
                   //win.width = 900;
                   //win.height = 900;
                   /*var fileLoader:Loader = new Loader();
                   fileLoader.load(new URLRequest(url));
                   win.stage.addChild(fileLoader);*/
                   win.maximize();
                   win.activate();
                   stage.nativeWindow.close();
              } catch (e:Error) {
                trace("Error occurred!");
         else
              txtBox.text = 'Invalid logins';
    function onIOError(event:IOErrorEvent):void
         trace("Error loading URL."); 
    PHP code
    <?php
    $username = addslashes($_POST['UserName']);
    $password = addslashes($_POST['Password']);
    //do your database checking here. this is an example
    if($username=='niroshan' && $password=='123456')
         echo "errorcode=0"; 
    else
         echo "errorcode=1"; 
    ?>
    Call the function when pressing the submit
    cmdButton.addEventListener(MouseEvent.CLICK,readySendLoginData);
    function readySendLoginData(evt:MouseEvent){    
      sendLoginData();
    Thanks,
    best regards,
    Niroshan

    Thats right, HTMLLoader should solve the issue as Loader used for JPEG, PNG OR GIF files loading as per my knowledge

  • Forms Server - Unable to  load *.FMX  into the applet window

    We have compilled the following html from JDeveloper :
    <HTML>
    <!-- FILE: main.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template -->
    <!-- Rename, and modify tags and parameter values as needed -->
    <HEAD><TITLE>The Developer/2000 Server</TITLE></HEAD>
    <BODY><BR>Please wait while the Forms Client class files download and run.
    <BR>This will take a second or two...
    <P>
    <!-- applet definition (start) -->
    <APPLET CODEBASE="."
    CODE="oracle.forms.engine.Main"
    ARCHIVE="f60web.jar"
    HEIGHT=400
    WIDTH=400>
    <PARAM NAME="serverHost" VALUE="192.168.1.99">
    <PARAM NAME="serverPort" VALUE="80">
    <PARAM NAME="serverArgs"
    VALUE="module=test.fmx userid=tasos/1234@gportal">
    <PARAM NAME="serverApp" VALUE="default">
    </APPLET>
    <!-- applet definition (end) -->
    </BODY>
    </HTML>
    Runtime retunrs the following:
    java.lang.NoClassDefFoundError: java/awt/peer/ActiveEvent      
    void oracle.forms.engine.Main.dispatchEvents(java.awt.EventQueue)      
    void oracle.forms.engine.Main.tryDispatching()      
    void oracle.forms.engine.Main.componentResized(java.awt.event.ComponentEvent)      
    void java.awt.Component.processComponentEvent(java.awt.event.ComponentEvent)      
    void java.awt.Component.processEvent(java.awt.AWTEvent)      
    void java.awt.Container.processEvent(java.awt.AWTEvent)      
    void java.awt.Window.processEvent(java.awt.AWTEvent)      
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)      
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)      
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)      
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)      
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)      
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)      
    void java.awt.EventDispatchThread.run()
    Finally , the applet main.class initializes but the specified
    FMX file could not be displayed.
    Is it possible to explain us what is going wrong ;

    If your fmx cannot be found try first to have a hard coded path to the fmx in your HTML something like module=c:\temp\a.fmx
    If it works this way then you probably didn't set the FORMS60_PATH entry in the regedit correctly to include the path to the form.
    set it and remove the path from your html.
    Also I would suspect that your jar is not loaded since your codebase is not pointing to it's directory.
    Open the java console to see if it gets downloaded to the client.

  • Unable to load ADF Mobile for Android deployment profile.

    Hello,
    I'm trying to implement a simple application on an android platform using this:
    [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html]
    I already downloaded the updates needed as extensions and started the emulator using the SDK Manager.exe. However, i'm not able to create a deployment profile of type: "ADF Mobile for android". I only find type "ADF Mobile Feature Archive" which doesn't work for me because when i try deploying it, i don't find the "deploy application to emulator" option. Any thoughts?
    Regards,
    Mohamed

    Hi.
    To deploy to the emulator or to a device, you must create a deployment profile on your application, not on the ViewController or ApplicationController projects.
    Best Regards,
    Frédéric.

  • Unable to load driver for Storage for Windows 2008 UCS B230 M2

    I am trying to Boot from SAN windows 2008 R2. I  have configured and connected the Cisco UCS Chassis and FI to our Network & Storage .I am  having problem to install Windows 2008 R2 Server on Blades as it is not able to see Storage LUN while installation .I downloaded drivers from Cisco Support Site.
    I tried drivers from ISO ucs-bxxx-drivers.2.1.3 latest version but Windows is showing driver is available but not installing the driver I am getting the following error and not showing the LUN hard disk to select the installation.
    Windows is unabe to locate storage LUN. I am able to LUN while booting process.
    I am not sure where I am doing wrong.or I am chosing wrong driver.

    I don't see the error message either, but to install W2008 on a boot lun, you must
    1) do the zoning of the vhba (initiator) to the pwwn of the storage subsystem port (target)
    2) the lun masking / mapping has to be setup
    3) fnic driver has to be installed
    Therefore, if you don't see your boot lun, either 1) and or 2) has to be fixed
    then
    4) only one path should be configured (e.g. fabric a), because no multipathing is available during installation, this is very important, and necessary for W2003, 2008 and 2012
    and
    5) if you see the boot lun, and can install, but the boot fails, the problem is the boot policy !
    Very easy ! Good luck !

Maybe you are looking for