Hello,
I migrate sharepoint users from DomainA to DomainB. I have a problem with Infopath forms. When a form is sent to acceptation with one of approvers login like "DomainA\username" and next this user is migrated to DomainB, SharePoint see this profile as "DomainB\username". After that if second approver whants to do acceptation, the form return error. The error says that sharepoint can not find user "DomainA\username". when I change this valu (by SharePoint Designer) to "DomainB\username" second approver is able to accept the form. I have many such forms and I`m not able to do everything by SPD.
Could you help me to create powershell script wchich will do:
1. Find and write to a variable all xml files (content of infopath forms) for whole sitecollecion or webapplication
2. Rifle all xml files and if find inside one of these file string "DomainA\uername" replace it with "DomainB\username"
I just start work with powershell so I`ll be appreciative for any help.
My SharePoint is 2010.
Regards,