FIM Powershell error
hello,
i try to update a custom object with Powershell in FIM and i have this error
Any idea ?
Regards
Hello,
hard to say from the above error, I'm wondering about the File IO error.
In generell custom objects are not different from the Default objects.
User running Powershell must have Access to Portal/webservice and grant rights with MPRs to the custom objects.
Keep also in mind that objecttypes System names are case-sensitive.
Maybe some relevant parts of the script could help, if ist a Scripting error.
-Peter
Peter Stapf - ExpertCircle GmbH - My blog:
JustIDM.wordpress.com
Similar Messages
-
Powershell error while importing module and executing function from module
powershell error while importing module and executing function from module
Function called in uncertain order..
VERBOSE: The 'Function1' command in the MyModule module was imported, but because its name does not include an approved verb, it might be difficult to find. The
suggested alternative verbs are "Clear, Install, Publish, Unlock".
VERBOSE: Importing function 'Function1'.
VERBOSE: The 'Function2' command in the MyModule' module was imported, but because its name does not include an approved verb, it might be difficult to fin
d. For a list of approved verbs, type Get-Verb.
VERBOSE: Importing function 'Function2'.First of all those errors look more related to HBR, though if it worked before I would restart services then log into the planning app and then try again.
Have you tried a different form as well one without an ampersand &.
Cheers
John
http://john-goodwin.blogspot.com/ -
Using the FIM PowerShell Module to Remove a Manager
Just added a sample for using the FIM PowerShell module to
Remove a Person's Manager.Hello,
Modify this script as per your requirement. This script will help you to get all broken permission from site list and items.
http://manditech.wordpress.com/2011/08/05/finding-lists-and-items-with-unique-permissions-broken-inheritance/
To remove group permission, look at here:
http://sharepoint.stackexchange.com/questions/70071/need-to-remove-permission-level-from-a-sharepoint-group-using-powershell
http://stackoverflow.com/questions/2278289/remove-unwanted-user-permissions-from-sharepoint
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
FIM PowerShell Connector - Error on Export
This issue is regarding recently published Microsoft PowerShell connector.
I'm following the instruction per Microsoft article listed here: http://msdn.microsoft.com/en-us/library/dn640417(v=ws.10).aspx
It says that in my Export Data script, I have to return a PutExportExtriesResults object to the pipeline, and it can be just an empty object like shown on the example.
Write-Output (New-Object Microsoft.MetadirectoryServices.PutExportEntriesResults)
Only if I have any errors during export, then I need to create a list that conveys the error. However, when I executed export on the MA, it gives an error after the run is completed. The error is ma-extension-error. When I opened the error to get more
details, it says:
Connected data source error code: 0x80230703
Connected data source error: unexpected-error.
Event viewer is not helpful to figure out what the issue is. It says the following on the stack trace:
"Microsoft.MetadirectoryServices.ExtensionException: csEntry ID: 14642da3-3028-e411-a6fd-00155d910f73, Export unsuccessful.
at Microsoft.IdentityManagement.Connector.PowerShell.Bridge.ExportBridge.PutExportEntries(String scriptFileConfigKey, IList`1 connectorSpaceEntries)
Forefront Identity Manager 4.1.3559.0"
Have anyone experienced this before, and know where I go wrong? Thank you very much for ya'll time.I have done som research on how the PS MA works and found that you really have to do more then just add "Write-Output (New-Object Microsoft.MetadirectoryServices.PutExportEntriesResults)" at the end.
What i found worked was to do the following
======================== Example ========================
$putExportEntriesResults = new-object -Typename Microsoft.MetadirectoryServices.PutExportEntriesResults
foreach($csentry in $CSEntries){
$csEntryChangeresult = [Microsoft.MetadirectoryServices.CSEntryChangeresult]::Create($csentry.Identifier,$csentry.AttributeChanges,"Success")
$putExportEntriesResults.CSEntryChangeResults.Add($csEntryChangeresult)
Write-Output $putExportEntriesResults
======================== End Example ========================
//Sorry for any typos in code//
And ALWAYS make sure to do "| Out-Null" on stuff that end up in the pipeline
Ulf Lindström -
I am trying to call sharepoint online from powershell. Below is the code. I get
Exception calling "ExecuteQuery" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
$loadInfo1 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
$loadInfo2 = [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
$webUrl = "ZZZZ"
$username = "XXX"
$password = "YYYY"
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($webUrl)
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
$web = $ctx.Web
$lists = $web.Lists
$ctx.Load($lists)
$ctx.ExecuteQuery()
$lists| select -Property Title
Raj-ShptHi,
About how to access SharePoint online site using PowerShell, the blog below would be helpful:
http://social.technet.microsoft.com/wiki/contents/articles/29518.csom-sharepoint-powershell-reference-and-example-codes.aspx
Another two demos for your reference:
http://www.hartsteve.com/2013/06/sharepoint-online-powershell/
http://www.sharepointnutsandbolts.com/2013/12/Using-CSOM-in-PowerShell-scripts-with-Office365.html
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Hey Tech Bros,
Not sure whether this is the right forum.I get error while executing the job status report script.
#Create a new Excel object using COM
$Excel = New-Object -ComObject Excel.Application
$Excel.visible = $True
$Excel = $Excel.Workbooks.Add()
$Sheet = $Excel.Worksheets.Item(1)
#Counter variable for rows
$intRow = 1
#Read thru the contents of the SQL_Servers.txt file
foreach ($instance in get-content "C:\SQLCheck\Serverlist.txt")
#Create column headers
$Sheet.Cells.Item($intRow,1) = "INSTANCE NAME:"
$Sheet.Cells.Item($intRow,2) = $instance
$Sheet.Cells.Item($intRow,1).Font.Bold = $True
$Sheet.Cells.Item($intRow,2).Font.Bold = $True
$intRow++
$Sheet.Cells.Item($intRow,1) = "JOB NAME"
$Sheet.Cells.Item($intRow,2) = "LAST RUN OUTCOME"
$Sheet.Cells.Item($intRow,3) = "LAST RUN DATE"
#Format the column headers
for ($col = 1; $col –le 3; $col++)
$Sheet.Cells.Item($intRow,$col).Font.Bold = $True
$Sheet.Cells.Item($intRow,$col).Interior.ColorIndex = 48
$Sheet.Cells.Item($intRow,$col).Font.ColorIndex = 34
$intRow++
#This script gets SQL Server Agent job status information using PowerShell
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
# Create an SMO connection to the instance
$srv = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $instance
$jobs=$srv.JobServer.Jobs -like "TCB*"
#Formatting using Excel
ForEach ($job in $jobs)
# Formatting for the failed jobs
if ($job.LastRunOutcome -eq 0)
$fgColor = 3
else
$fgColor = 0
$Sheet.Cells.Item($intRow, 1) = $job.Name
$Sheet.Cells.Item($intRow, 2) = $job.LastRunOutcome.ToString()
$Sheet.Cells.item($intRow, 2).Interior.ColorIndex = $fgColor
$Sheet.Cells.Item($intRow, 3) = $job.LastRunDate
$intRow ++
$intRow ++
$Sheet.UsedRange.EntireColumn.AutoFit()
cls
Best Regards, Arun http://whynotsql.blogspot.com/Can you try the below code?
#Create a new Excel object using COM
$Excel = New-Object -ComObject Excel.Application
$Excel.visible = $True
$Excel = $Excel.Workbooks.Add()
$Sheet = $Excel.Worksheets.Item(1)
#Counter variable for rows
$intRow = 1
#Read thru the contents of the SQL_Servers.txt file
foreach ($instance in get-content "C:\Server.txt")
#Create column headers
$Sheet.Cells.Item($intRow,1) = "INSTANCE NAME:"
$Sheet.Cells.Item($intRow,2) = $instance
$Sheet.Cells.Item($intRow,1).Font.Bold = $True
$Sheet.Cells.Item($intRow,2).Font.Bold = $True
$intRow++
$Sheet.Cells.Item($intRow,1) = "JOB NAME"
$Sheet.Cells.Item($intRow,2) = "LAST RUN OUTCOME"
$Sheet.Cells.Item($intRow,3) = "LAST RUN DATE"
#Format the column headers
for ($col = 1; $col –le 3; $col++)
$Sheet.Cells.Item($intRow,$col).Font.Bold = $True
$Sheet.Cells.Item($intRow,$col).Interior.ColorIndex = 48
$Sheet.Cells.Item($intRow,$col).Font.ColorIndex = 34
$intRow++
#This script gets SQL Server Agent job status information using PowerShell
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
# Create an SMO connection to the instance
$srv = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $instance
$jobs=$srv.JobServer.Jobs | Where-Object {$_.IsEnabled -eq $TRUE -and $_.name -like '*Job*'} | Select Name,LastRunOutcome, LastRunDate
if($jobs -eq $null)
{write-output 'No jobs found'
else
#Formatting using Excel
ForEach ($job in $jobs)
# Formatting for the failed jobs
if ($job.LastRunOutcome -eq 0)
$fgColor = 3
else
$fgColor = 0
$Sheet.Cells.Item($intRow, 1) = $job.Name
$Sheet.Cells.Item($intRow, 2) = $job.LastRunOutcome
$Sheet.Cells.item($intRow, 2).Interior.ColorIndex = $fgColor
$Sheet.Cells.Item($intRow, 3) = $job.LastRunDate
$intRow ++
$intRow ++
$Sheet.UsedRange.EntireColumn.AutoFit()
--PRashanth -
Cloud Service: Powershell Error while waiting for Role to Start
Hi,
I have the below code when trying the deploy a cloud service with Powershell using New-AzureDeployment.
How can i get over this. This happens every once in say five instance of deployment.
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.N
et.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected ho
st has failed to respond xx.xxx.xxx.xxx:443
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult,
Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.WindowsAzure.Management.Storage.StorageAccountOperationsExtensions.Get(IStorageAccountOperations operations, String accountName)
at Microsoft.WindowsAzure.Commands.Common.Storage.StorageUtilities.GenerateCloudStorageAccount(StorageManagementClient storageClient, String accountName)
at Microsoft.WindowsAzure.Commands.Utilities.Common.WindowsAzureSubscriptionExtensions.GetCloudStorageAccount(AzureSubscription subscription)
at Microsoft.WindowsAzure.Commands.Storage.Common.StorageCloudCmdletBase`1.GetStorageAccountFromSubscription()
at Microsoft.WindowsAzure.Commands.Storage.Common.StorageCloudCmdletBase`1.GetCmdletStorageContext()
Thanks,
Pradebban RajaHi,
Please have a check on the below blog and check if it helps.
http://blogs.msdn.com/b/narahari/archive/2011/12/21/azure-a-connection-attempt-failed-because-the-connected-party-did-not-properly-respond-after-a-period-of-time-or-established-connection-failed-because-connected-host-has-failed-to-respond-x-x-x-x-x-quot.aspx
Regards,
Mekh. -
Fim Synchronization Error - Event ID : 6801 - How to resolve in existing farm ?
Hello,
My farm was working well since last 1 year for synchronizing user profile ,however for last 1 month it has been stopped as users are not being added/updated.
UPS Account is having replicate directory changing permission
UPS,sync and Firm service are in Running State
FIM and Server has logged following error for multiple users:
Level: Error
Source:
FIMSynchronizationService
Event ID: 6801
Task Category:
Server
Message:
"The extensible extension returned an unsupported error.
The stack trace is:
""System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: strAccountName
at Microsoft.Office.Server.UserProfiles.UserProfileManager.UserExists(String strAccountName)
at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAccountName, Hashtable properties)
at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateProfileWithBulkProperties(Int64 importExportId, String strAccountName, Hashtable properties)
at Microsoft.Office.Server.UserProfiles.ProfileImportExportService.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Office.Server.WebServiceDirectProxy.WebMethodInfo.Invoke(Object webServiceInstance, Object[] args)
at Microsoft.Office.Server.WebServiceDirectProxy.Invoke(String methodName, Object[] args)
at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportDirect.UpdateWithProfileChangeData(Int64 importExportId, ProfileChangeData[] profileChangeData)
at Microsoft.Office.Server.UserProfiles.ManagementAgent.ProfileImportExportExtension.Microsoft.MetadirectoryServices.IMAExtensibleCallExport.ExportEntry(ModificationType modificationType, String[] changedAttributes, CSEntry csentry)
Forefront Identity Manager 4.0.2450.49"""
Would you please let me know the resolution in order to remove above error ?
Thanks and Kind Regards,
Dipti ChhatrapatiHello Dipti,
Re-creating UPA would be the final solution as per my understanding as most of the troubleshooting has already been performed by you.
Personally, i would suggest you take backup of your UPA databases first (Profile, Social and Sync) and then delete the existing sync connection and re create a new one (also take screenshot of every managed property so that we would know which property is connected
to which attribute in AD).
If this doesn't resolve your issue then re-create UPA with the existing database you backed up earlier.
If above mentioned steps doesn't resolve the issue then delete UPA and create a new UPA with OLD profile & Social DB and create a fresh new Sync DB.
If issue still persist then re-create a new UPA with new database and configure everything from scratch.
Note: for all these steps we would require downtime as we might need to clear timer cache or perform IISreset in case we face trouble. Otherwise, this solution doesn't actually require downtime. Also, when we will be troubleshooting on the request users wouldn't
be able to see their profile and tags which they would have already made.
Thank You. -
SQL query in powershell Errors on IIF
Hello,
I have put together a Powershell script from examples online to run a SQL query. The query came from Access and it seems Powershell has a problem with the syntax.
I'm pretty new to scripting and adding SQL to the equation isn't helping.
Powershell code
$SQLServer = "ServerName"
$SQLDBName = "DataBase"
$SqlQuery = 'MyQuery'
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "Server = $SQLServer; Database = $SQLDBName; Integrated Security = True"
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = $SqlQuery
$SqlCmd.Connection = $SqlConnection
$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$SqlAdapter.SelectCommand = $SqlCmd
$DataSet = New-Object System.Data.DataSet
$SqlAdapter.Fill($DataSet)
$SqlConnection.Close()
$DataSet.Tables[0] | ft -AutoSize
SQL Query
SELECT swName AS Server, swRack AS Rack, swEnvironment AS Environment, IIf([dbo.SW_SERVICE_LVL].[swMonday]=1,"Mon") AS [RebootSchedule], dbo.SW_SERVICE_LVL.swMonBeginTime AS [RebootTime], 2 AS Expr
FROM dbo.SW_SERVICE_LVL INNER JOIN dbo.SW_SPECIALTY ON dbo.SW_SERVICE_LVL.swDiscount = dbo.SW_SPECIALTY.swSpecialtyId
WHERE (((IIf([dbo.SW_SERVICE_LVL].[swMonday]=1,"Mon")) Is Not Null) AND ((dbo.SW_SERVICE_LVL.swGrpResp)="IT Group Name") AND ((dbo.SW_SERVICE_LVL.swRootObjectType)="Server"));
Error given is
Exception calling "Fill" with "1" argument(s): "Incorrect syntax near ')'.
Incorrect syntax near 'IIf'."At line:16 char:1
+ $SqlAdapter.Fill($DataSet)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlExceptionThis might be considered a new question but now I got the powershell code to return data from the SQL database.
Now I am looking to output the table to a powershell Array then append the LastRebootTime into that Array. As far as I can tell, this requires a ForEach loop on each servername returned from the SQL query. And I'm stuck on getting that working.
Stop thinking like you know what that means.
Where are you getting lastreboottime? Why does it have to be appended. "Reboottime" is one of thefields in or query. You don't need it.
¯\_(ツ)_/¯
That is a bit strongly worded. Here's what I've got and this is still a work in progress. I've said this before, I am not a scripter. Now I am stuck on adding the LastBootUpTime column into the table returned from the SQL query.
$SQLServer = "ServerName"
$SQLDBName = "DataBase"
$SqlQuery = 'MyQuery'
$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
$SqlConnection.ConnectionString = "Server = $SQLServer; Database = $SQLDBName; Integrated Security = True"
$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
$SqlCmd.CommandText = $SqlQuery
$SqlCmd.Connection = $SqlConnection
$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
$SqlAdapter.SelectCommand = $SqlCmd
$DataSet = New-Object System.Data.DataSet
$SqlAdapter.Fill($DataSet) | Out-Null
$arraydata = @($DataSet)
$SqlConnection.Close()
$servers = @($DataSet.Tables[0]) | select -ExpandProperty Server
Try{
foreach ($server in $servers)
$arraydata += @(GWMI -ComputerName $server -Class Win32_OperatingSystem -ErrorAction SilentlyContinue | select @{LABEL="Server";Expression={$_."csname"}}, @{LABEL='LastBootUpTime'
;EXPRESSION={$_.ConverttoDateTime($_.lastbootuptime)}})
}#end try
Catch{
"Can't work with $server"
$DataSet.Tables[0] | ft -AutoSize #Export-Csv -NoTypeInformation -Path c:\sunday.csv
$arraydata -
Powershell error: 'Get-AzureRole' is not recognized as the name of a cmdlet
I am trying to
get PIP information on all instances of a role using Windows PowerShell
as per the document - "https://msdn.microsoft.com/library/azure/dn690118.aspx"
When I execute the command in the doc in the powershell:
Get-AzureRole -ServiceName FTPInAzure -Slot Production -InstanceDetails
The following error msg pops up:
'Get-AzureRole' is not recognized as the name of a cmdlet.
what's wrong?
Thanks
Thank you MorrisHi,
Thanks for posting !
I am currently researching to gather more information which might take some time and hence will get back to you shortly.
Appreciate your time and patience.
Regards,
Sowmya -
Merging vhdx & .avhdx with powershell error ....
i m trying to merge a vhdx & avhdx with powershell
the codes are
Run diskpart.
Enter: select vdisk file="<full path to the latest differencing disk>"
A differencing disk ends in either .avhd or .avhdx.
Enter: merge vdisk depth=n
n will be the number of parent files you want to merge. Since I had two parents, one .vhd and one .avhd for this .avhd file, I used depth=2.
the problem is whenever i try to select the differencing disk in step 2 , i get an error ...device not ready
if i changed the avhdx to vhdx ... i get the same error
i unchecked the read only ... gave full permissions to vm machine and user ... still get error
please advice or if you suggest a third party that can migrate the vhdx with its avhdxYou will need a backup to go back to a valid database.
Snapshots are not supported in Production and cause in few cases issues and behaviour like you are encoutering now.
You have to avoid using snapshots in production, snapshots are nice and they unction propely in 99% of the cases. You were not lucky. If you want to use snapshots with a VM for a reason (test update or a new configuration), backup your VM before.
Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com -
Execute C# in PowerShell: errors with " using System.XML "
Hi , I'm trying to execute C# code in Power Shell 2.0 .
My problem is for the references at the beginning of the code:
$code = @"
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
public class Program
static void Main()
{ /* the code wich works*/
Add-Type -TypeDefinition $code -Language "CSharpVersion3"
Powershell give me an error saying that " The type or namespace Linq doesn't exist" , and the same for Xml. I have Visual studio express 2013 .
How can add or import correctly those references? or what is my error?Hi Rebegg,
As this issue is related to Visual Studio, I suggest you create a new thread on Visual Studio forum, more experts will assist you with this issue.
Visual Studio forum:
http://social.msdn.microsoft.com/Forums/en-US/home?category=visualstudio
In addition, about this issue, you have to add your assemblies to your PowerShellsession before you can reference them to you C# Code, you can use the script like:
$Assem = (
...add referenced assemblies here...
$Source = @"
...add C# source code here...
Add-Type -ReferencedAssemblies $Assem -TypeDefinition $Source -Language CSharp
Here are some similar posts for your reference:
http://ruudvanderlinden.com/2010/10/19/running-inline-c-with-custom-assemblies-in-powershell-2-0/
http://powershell.com/cs/media/p/133.aspx
http://blogs.technet.com/b/stefan_gossner/archive/2010/05/07/using-csharp-c-code-in-powershell-scripts.aspx
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
PowerShell Error 401 Unauthorised when connect to SPO 365
Hi guys,
please help on connecting via PowerShell to our corporate SharePoint Online;
I use the
PS > Connect-SPOService -Url https://corp-admin.sharepoint.com/ -Credential me(AT)corp.com
and when asked for password, I type in the correct one for the account and get
connect-sposervice : The remote server returned an error: (401) Unauthorized.
(When I type in password which is not correct, there is different reply
Connect-SPOService : The partner returned a bad sign-in name or password error. For more information, see Federation Error-handling Scenarios.
thus I guess the auth phase works fine on AD.)
Haven't found any useable reply on forums.
Thank you in advance for any advice,
MichalHi
use this link
http://www.amintavakoli.com/2011/12/install-microsoft-online-services.html
It's working ;)
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you. -
FIM IC : Error in configuration
Hello again,
I'm facing a new issue : when I'm running a FIM job to load IC, all rows are rejected with the message "Error in configuration".
The period is open, process is started...
What does it mean?
Thank you for your answer.
VincentHi,
Mandatory dimensions are in the intercompany application :
Balances :Transaction Amount Local Amount
Invoices: Transaction Amount
It's indicated in the FIM guide User that you can find in the follwing link: Analytics Knowledge Center
Please feel free to ask for more question ..
Best regards,
Siwar -
FIM Powershell Password Reset Workflow
Hello All,
I'm trying to use the FIM portal in order to allow helpdesk to reset an users password upon the end user calling helpdesk. But am running into an issue with the powershell workflow.
Currently I have added a boolean attribute called "PasswdReset" and binded it to the user type.
Created an criteria based set called "PasswordResetUsers" which will transition users into when passwdrest is set to true.
Created an workflow called "PasswordResetWF" which is made up of several steps
1. The powershell activity which executes the following script
Import-Module Activedirectory
$newpwd = ConvertTo-SecureString "P@ssw0rd" -AsPlainText –Force
Set-ADAccountPassword SampleUser -Credential domain\administrator -NewPassword $newpwd -Reset -PassThru | Set-ADuser -ChangePasswordAtLogon $True
Here lies the problems
First how do I pass the samaccountname of the user to the powershell script to replace the sampleuser parameter.
Second How do I force this script to run as the domain\administrator without prompting for password
The rest of the workflow is as follows.
2. Trigger custom email notification to an monitored email account for logging purpose
3. Trigger custom email notification to Helpdesk monitored email account to generate support ticket.
4. OOB function to set "PasswdReset" attribute to false and transition the user out of the "PasswordResetUsers" set.
As always any suggestions would be greatly appreciated.Peter,
Thanks for your reply.
Had another look; events are indeed present;
Log Name: Application
Source: PowerShellActivity
Date: 01/04/2015 17:45:31
Event ID: 0
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: SERVER.DOMAIN
Description:
01/04/2015 16:45:31 -- Executing: Import-Module Activedirectory
$newpwd = ConvertTo-SecureString "P@$$w0rd" -AsPlainText –Force
Set-ADAccountPassword $fimwf.WorkflowDictionary.samAccountName -NewPassword $newpwd -Reset -PassThru
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="PowerShellActivity" />
<EventID Qualifiers="0">0</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-04-01T16:45:31.000000000Z" />
<EventRecordID>50286</EventRecordID>
<Channel>Application</Channel>
<Computer>SERVER.DOMAIN</Computer>
<Security />
</System>
<EventData>
<Data>01/04/2015 16:45:31 -- Executing: Import-Module Activedirectory
$newpwd = ConvertTo-SecureString "P@$$w0rd" -AsPlainText –Force
Set-ADAccountPassword $fimwf.WorkflowDictionary.samAccountName -NewPassword $newpwd -Reset -PassThru</Data>
</EventData>
</Event>
In my case, it was password policy.
Thank You!
Maybe you are looking for
-
That's pretty much it. I want to take into account portability and power. I'm nervous about my purchase because I don't know what my college experience will be like. I don't know if I'll be hauling my laptop everywhere or not, but I would like to be
-
How i can search in this forum
dear all, I'm new in SQL and PL/SQL i want to search in this forum all the example about (with statement) is this porsible? plz advice
-
Syncing Problems - lots of them:iTunes & iPhoto
I am having sync related issues. I have updated contacts in Address Book, and they don't get updated on the iPhone. I have added new contacts to Address Book, and they don't make it to the iPhone. It was working a while ago... but recently no... Also
-
Dear community, I am trying to import data regarding account and lead and I have some problems regarding phone number format. Although in the csv file I formatted the phone number based on the documentation +country code followed by space but after t
-
FRM-92119 in cluster, not in single instance
Hello everyone, Background: Forms 11.1.2.1.0, JDK 1.7 u 11, 64-bit, Windows. I have a 2-machine cluster set up behind a LBR. Both of the OHS are set to route to both of the WLS_FORMS managed servers. I have followed the instructions in the HA guide f