Important
This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements.
- HelloID Environment:
- Set up your HelloID environment.
- Install the HelloID Service Automation agent (on-prem).
- Active Directory:
- Service account that is running the agent has
Account Operators
rights
- Service account that is running the agent has
- AFAS Profit:
- AFAS tennant id
- AppConnector token
- Loaded AFAS GetConnector
- Tools4ever - HelloID - T4E_HelloID_Users_v2.gcn
- https://github.com/Tools4everBV/HelloID-Conn-Prov-Target-AFAS-Profit-Employees
- Build-in Profit update connector: KnEmployee
- None at this time.
HelloID-Conn-SA-Full-AD-AFAS-Update-Phone is a template designed for use with HelloID Service Automation (SA) Delegated Forms. It can be imported into HelloID and customized according to your requirements.
By using this delegated form, you gain the ability to update the mobile and fixed phone numbers in Active Directory and AFAS Profit. The following options are available:
- Search and select the target AD user account
- Enter new values for the following AD user account attributes: OfficePhone and MobilePhone
- AD user account [OfficePhone and MobilePhone] and AFAS employee [TeNr and MbNr] attributes are updated with new values
AFAS Profit provides a set of REST APIs that allow you to programmatically interact with its data.. The API endpoints listed in the table below are used.
Endpoint | Description |
---|---|
profitrestservices/connectors | AFAS endpoint |
The following options are available in the form:
- Lookup user:
- This Powershell data source runs an Active Directory query to search for matching AD user accounts. It uses an array of Active Directory OU's specified as HelloID user-defined variable named "ADusersSearchOU" to specify the search scope. This data source returns additional attributes the receive the current values for OfficePhone and MobilePhone.
The following actions will be performed based on user selections:
- Update OfficePhone and MobilePhone in Active Directory:
- On the AD user account the attributes OfficePhone and MobilePhone will be updated.
- Update TeNr and MbNr in AFAS Profit Employee:
- On the AFAS employee the attributes TeNr and MbNr will be updated.
The following user-defined variables are used by the connector. Ensure that you check and set the correct values required to connect to the API.
Setting | Description |
---|---|
ADusersSearchOU |
Array of Active Directory OUs for scoping AD user accounts in the search result of this form. For example, [{ "OU": "OU=Disabled Users,OU=Training,DC=domain,DC=com"},{ "OU": "OU=Users,OU=Training,DC=domain,DC=com"}] |
AFASBaseUrl |
The URL to the AFAS environment REST service. For example, https://yourtennantid.rest.afas.online/profitrestservices |
AFASToken |
The AppConnector token to connect to AFAS. For example, < token>< version>1< /version>< data>yourtoken< /data>< /token> |
Tip
For more information on Delegated Forms, please refer to our documentation pages.
Tip
If you need help, feel free to ask questions on our forum.
The official HelloID documentation can be found at: https://docs.helloid.com/