HUD Support Tool:
Option 6: Check Aho Employee Category of User
Use this option when you want to check what employee category is assigned to a user account in a Azure AD context (as opposed to what is displayed in Aho).
Often when Aho imported accounts fail to trigger the onboarding flow in Power Automate it is due to the account not having an Employee Category assigned to it. This category is what is used to assign a user E5 or E3 license and relevant AAD groups. It also sends the onboarding email to the user’s manager with their credentials for their first login.
This script can be used to query an account and if no employee category is assigned then it will give you the option to add one.
IMPORTANT: If you run this and there is no employee category against a user account, add one using this script and then run the Power Automate Flow “Onboard to HCM – Azure AD User Setup (Provision on Demand)” to ensure their account is provisioned in Azure fully.
- Open the HUD Support Tool
- Select option 6
- Enter in a UPN
- If they have an employee category it will be displayed
- If not, then you receive an option to add one to their account.
- If the user account doesn’t have a category, like the AppAdmin account above then you need to assign a category, please use one of the terms in bold below
Permanent | Leave Without Pay |
Contractor | Parental Leave |
Consultant | External Consultant |
Fixed Term | Internal Secondment |