Microsft ADv2 spoke - need to modify an action to only use a specific connection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 09:38 AM - edited 07-29-2024 09:39 AM
I've been tasked to add user to a specific set of AD Group for users in a domain separated environment.
I've just started using IntegrationHub and have been struggling getting my First project done.
Not that 1 is being validated, the next one is a bit more complicated. Atleast i think it is.
Requirements:
From Domain 1, I need to validate a contact or user record exists for a user.
I now the groups to add to are:
Basic - License
Plus - License - Remote
Basic - License
Plus - License - Remote
If user record exists in Domain 1, then add it to group 1 or 3 base on catalog variable.
If user is from Domain 2 or 3, then i need to check if a contact record exists and add that to Group 2 or 4.
I'm not sure what to change in the Lookup or Add to group OOB actions to find Contact records.
My understanding is that it's looking in the User OU.
An if possible, can we set it do only use Domain 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 12:09 PM
I think i have the USE DOMAIN 1 only figured out.
Add an Connection/Credential entry into ADV2 connection for this request.
When I add the Action to the Flow, use advances to use only this new connection.
Correct?
Now how to change it so it finds contact records instead of user records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 07:59 AM
OK, I've been able to locate the "Contact" object in AD using the "Lookup Objects by Filter" action.
This unfortunately doesn't return the AD Attributes like the Look up User action does.
All I have available is:
When i Test this Action, I'm able to get data in the response.
[{"DistinguishedName":"CN=User Name,OU=conpany1,OU=_GALsyncContacts,OU=xxx,DC=xxx,DC=Global","Name":"username","ObjectClass":"contact","PropertyNames":"DistinguishedName Name ObjectClass ObjectGUID","AddedProperties":"","RemovedProperties":"","ModifiedProperties":"","PropertyCount":4,"ObjectGUID":"6d1a4925-443c-4955-b1ad-bfdc88565301"}]
Anyone know how to the the DistinguishedName or other attributes out so they can be put into other places.