Hi guys
Apologies for this (probably been asked before) but can anyone advise on what the Security Role settings should be for the App for Outlook to work correctly?
We're using V9 and I've done the following:
- System Setting - MailApp Preview is set to Yes
- Security Role - Business Management tab:
- Mailbox = Create/Read/Write/Append/Append To all set as Organisation
- Privacy Related Privileges = use Dynamics 365 App for Outlook is set to Organisation
- Security Role - Customization tab:
- Entity = Read/Write set to Organisation;
- Field = Red/Write set to Organisation;
- Relationship = Read/Write set to Organisation;
- System Application Metadata = Read/Write set to Organisation;
- System Form = Read/Write set to Organisation;
- User Application Metadata = Read/Write set to User;
- View = Read/Write set to Organisation
I've then accessed the Getting Started with Microsoft Dynamics 365 App for Outlook page and Added the App to Outlook.
I've followed the guidance from here: https://technet.microsoft.com/en-us/library/dn946901.aspx.
The App is showing up in Office 365 and in Outlook but I'll focus on Office 365 here. When I access an email and click the D to open the App, the App will open but I will sometimes get a message in it saying: Error Loading Control (the outline of the app is there but no content).
If I apply the System Admin role to the user then the App works perfectly so I know there is a setting I'm missing somewhere here but I cannot locate any guidance on this other that the above. If I remove the System Admin role from the user the App continues to work for a while (I'm assuming session length here) but will ultimately return to the Error Loading Control message.
When I click on the Error Loading Control message I get this error:
Error while mapping state to props during ComponentDidMount for control: MscrmControls.Containers.DashboardControl
Any advice on where to look next? I know V9 App is in Preview but I don't think it's the Preview that's the issue here (as it works when the user is a System Admin) so I'm guessing it's a Security Role setting I need to tweak here.
Thanx for any advice.
Steven