Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Can AD groups be used for workflow assignment instead of user groups in d365fo

(0) ShareShare
ReportReport
Posted on by 10

Hi,

Getting below error wile assigning AD Group in approval user in a workflow

Stopped (error): X++ Exception: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics 365 for
Finance and Operations.

at SysWorkflowDocument-assertSysWorkflowDocument-assertPermissionSysWorkflowWorkItem-createSysWor

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,971 Super User 2025 Season 1 on at
    RE: Can AD groups be used for workflow assignment instead of user groups in d365fo

    Hi Ashutosh,

    Can you clarify what exactly you did setup on the workflow assignment? When you are using Azure AD groups for granting permissions and not directly assigning the roles in Dynamics 365 to the users, then indeed the workflow can't find the users as it is checking only direct role assignments and it is checking for details in Azure AD.

    You can read more about this limitation on my blog: How to use Azure Active Directory for managing users and security in Dynamics 365 for Finance and Operations - Dynamicspedia

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans