Adoxio / xRM-Portals-Community-Edition

The definitive edition of Microsoft Open Source Portals, supported by the experts in portals.
MIT License
107 stars 60 forks source link

After publishing the code and deploying #43

Closed omarrana closed 6 years ago

omarrana commented 6 years ago

After publishing the code and deploying when i connect to crm i get an exception that invalid id.

luccig commented 6 years ago

Omar, is it invalid Id for your CRM user or a Contact Id? can you get the error details / inner exception?

On Thu, Nov 16, 2017 at 11:46 AM omar notifications@github.com wrote:

After publishing the code and deploying when i connect to crm i get an exception that invalid id.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/43, or mute the thread https://github.com/notifications/unsubscribe-auth/AgFLAk8378e0A7cT7A3xJ01Fn-HUH-Jcks5s3Gb9gaJpZM4Qgyo2 .

omarrana commented 6 years ago

hi lucig, i wanted to login with crm users on the portal, so i enabled Windows Authentication in inetmgr. After doing that i get invalid id error. So i guess its because of crm user.

If i disable it and use anonymous authentication then i have to signup for login. How can i enable already existing users in crm to login on Portal ? is it possible.

luccig commented 6 years ago

You can't. Users in the Portal are CRM Contacts created with Portal Login, not Windows Auth users. Those would be CRM Users, if you would be hosting CRM on Premises.

On 11/17/17, omar notifications@github.com wrote:

hi lucig, i wanted to login with crm users on the portal, so i enabled Windows Authentication in inetmgr. After doing that i get invalid id error. So i guess its because of crm user.

If i disable it and use anonymous authentication then i have to signup for login. How can i enable already existing users in crm to login on Portal ? is it possible.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/43#issuecomment-345201207

omarrana commented 6 years ago

Can i use existing contacts to login ? if so how. i found an invitation code option but there is no option to send to all contacts.

luccig commented 6 years ago

You make a workflow that is triggered on demand and sends invitations. And apply it to all the contacts you want to invite, usually you get them as a result of an Advanced Find.

On 11/17/17, omar notifications@github.com wrote:

Can i use existing contacts to login ? if so how. i found an invitation code option but there is no option to send to all contacts.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/43#issuecomment-345223893

omarrana commented 6 years ago

ok thankyou for you guide. i am having this issue while sending email to one contact.

Unexpected exception from plug-in (Execute): Adxstudio.Xrm.Workflow.Invitation.SendInvitation: System.NotSupportedException: adx_invitecontact cannot be null

Can you help to what is this referring?

luccig commented 6 years ago

That lookup field in your workflow that reffers to the contact cannot be null. Check your workflow, you need to add something to it, most probably