It was determined that this is the error message that is returned when a user's email address is not set in the UserInfo object. The way I was creating users did not set this field. So, the user also could not be retrieved with GetUserByEmail
. If a valid email is used, it does not return an ADMIN_ONLY_OPTION
error.