Changed link TenantId to be an Id and changed the type to string.