Automatically fill "Custom Device Information" with Values (e.g. from Azure AD)

Is there a possibility to automatically fill the "Custom Device Information" via script or connector