locked
Error message: -1 is not a valid state code for mailbox MS CRM 2013 while disabling the user using SDK. RRS feed

  • Question

  • Hi Tech Friends,

    Error message: -1 is not a valid state code for mailbox MS CRM 2013 while disabling the user using SDK.

    The code perfectly works fine in MSCRM 2011. The problem shows up in MSCRM 2013 only.

    Code sample used form this link:

    http://msdn.microsoft.com/en-us/library/jj602914.aspx


    -Jai

    Wednesday, January 8, 2014 10:35 AM

All replies

  • Hi,

    The message sounds like the constrain between State Code and Status Reason (e.g. Inactive cannot goes with Open state, etc...)

    Maybe in CRM 2013 OOTB fields are changed, you should those fields in GUI.

    Hope it helps.

    Thursday, January 9, 2014 10:32 AM