HJi Qiuyun_Yu
Thanks for the response.
I have now found a solution to this. If you put in a nickname you get the results in my initial query. However if you put in the actual Xero company account name you then get the Xero choice screen to select the company you want.
regards