Hi,
Did you add this attribute to the list of custom attribute to be synced with Azure AD Custom attributes are not populated in hybrid environment ?
Did you create new rule in Azure Ad connect to create this attribute in Azure AD ?
Please don't forget to mark helpful answer as accepted