FIM 2010 Portal Service is not available , I can not setup FIM portal
Since you did not say you modified the script to include a valid DisplayName I assume you didn't do that.
You need to update the following line with a valid displayname.
set-variable -name DisplayName -value "Britta
Simon"
save it and rerun it
If you did do that I would step through the script and determine where it's failing. It's almost certainly failing on the "$CurObject = export-FIMconfig ".
So either you are not able to connect to the server or you are providing an invalid xpath for this "-customconfig ("/Person[DisplayName='$DisplayName']")`"
If you are connecting but not getting any records back try something simple (assuming you have the FIMAutomation snapin loaded)
export-fimconfig -onlyBaseResources -customconfig /Person
If you get something back on the console that looks like
http://localhost:5725/ResourceManagementService then thats half the battle and your are probably just inputting an invalid display name in the script.
Paul N Smith
May 29th, 2012 3:57pm
http://social.technet.microsoft.com/Forums/da-DK/ilm2/thread/0e61a6dd-00a4-4e7e-94e1-993712be32bd
http://social.technet.microsoft.com/wiki/contents/articles/2100.how-to-use-powershell-to-display-a-users-attribute-values-for-fim-portal-access-en-us.aspx
I read the above and executed ps1 script above.
It says Error :User not found
event log is below.
Source: Microsoft.ResourceManager
Event ID: 3
Level: Error
User: N/A
Keywords: Classic
TaskCAtegory: None
Microsoft.ResourceManagement.Service: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.CloseServiceHosts(IList`1 workflowServiceHosts) at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations) at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator() at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.UpdateServiceHosts(Object
source, ElapsedEventArgs e)
How could I setup FIM portal
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 4:13am