Hi,

Before trying to import the Users from other domain to AX could you please test 
the following job in AX by providing the following parameters

a) Domain <<Provide the Domain>>
b) Alias  <<User>>

static void TestSID(Args _args)
{
    sid                 userSid;
    Microsoft.Dynamics.IntegrationFramework.Util util;
    ;


    util = new Microsoft.Dynamics.IntegrationFramework.Util();

    //Get the Windows SID for this user
    //We can't lookup the Axapta user in the userInfo table
    //using the domain and alias because the userInfo table
    //may not have the correct information.  For example,
    //a user may be deleted or renamed in Active Directory
    // BP Deviation Documented

    //PASS THE DOMAIN AND ALIAS -- MANDATORY
    userSid = util.GetUserSid(Domain, alias);
    CodeAccessPermission::revertAssert();

    Debug::printTab(DebugPrintTab::ActiveX, userSid);
}

If no SID is generated then there is some issue.

May be this would give you some idea.

Thanks
Santosh

--- In Axapta-Knowledge-Village@yahoogroups.com, "Ali Jawad" <alijaw...@...> 
wrote:
>
> Dear Champs!
> 
> While importing Users from other domain to AX I am experiencing with the 
> following error.
> " Invalid parameter passed to getUserSID"
> 
> Both AX and other domains have the trust relationship.
> 
> your prompt help is needed.
> 
> BR,
> Ali Jawad
>


Reply via email to