I have included a “Retrieve Data from Object“ action in my workflow to get the “domain“ based on the “OnPremisesSamAccount“ for the target user, but it's failing. Why is this happening?
![](https://static.helpjuice.com/helpjuice_production/uploads/upload/image/15740/direct/1694775568879-faq-workflows-domain-OnPremisesSamAccount.png)
Please refer to the following data reference for the input list in order to obtain the required properties:
Target | Id |
---|---|
User | UPN |
Mailbox | UPN |
Mail contact | Id |
Distribution group | Id |
Security groups | Id |
Office 365 group | Guid |
Teams | Guid |
Skype for Business | UPN |