cancel
Showing results for 
Search instead for 
Did you mean: 

Facing server error with new Office 365 outlook VBO

I've configured the Azure account as per the guide to work with this VBO.

As the first step, I'm able to successfully run Authenticate page, and also receive Access Token and Expires On data items populated which means the connection is established.

After that any action I run it throws the below error so can someone help what am I missing in configuration.

7590.png
I have also granted all permissions.
7591.png

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
10 REPLIES 10

Kirk.Russell
Level 6
Hi @Tejaskumar_Darji

I don't think successful authentication step means you have connection to the Outlook365 server, it just means you have the token and credentials to present to the Outlook server.

I'm wondering if it is not finding the specific inbox you tried to list mails in or the server is not found. What config do you have in the list emails action?

Kirk​

------------------------------
Kirk Russell Senior Robotics Developer
NHS Dorset
NHS Dorset
------------------------------

Hello, thanks for your reply.

I'm just passing my email ID as an input parameter

7537.png
and this error is not just for List Mail action but for other actions as well so something I am missing in the setup I guess.

7538.png

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hi @Tejaskumar_Darji

Just checking you have the email id as full address including @domain?

The permissions on your Azure App look like they should cover what you are trying to do.​ Could be a permissions issue on the Outlook365 server itself for the account you are trying to access​.

We didn't hit any problem like this while setting up this VBO just worked as soon as we got the Azure App permissions sorted.

Kirk


------------------------------
Kirk Russell Senior Robotics Developer
NHS Dorset
NHS Dorset
------------------------------

@Tejaskumar_Darji,

As @Kirk Russell mentioned, the email ID needs to be a full email address. If you pass just the user ID you will receive a 404 from Microsoft. Same thing if the email address is not valid.

Cheers,

​​

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Yes, I'm passing the full email address, like this "tejas****@hotmail.com" and the email ID is active too.

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

@Tejaskumar_Darji,

Is this Hotmail address registered in your Azure tenant as a user? Graph API is tied to your Azure tenant and can only see users defined with the Azure AD instance.

Cheers,​

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hello Eric, Thanks for your suggestions here on Azure.

I navigate to the Azure Active Directory > Users section for the same Tenant and I can see the user with the email ID that I'm passing.
It was already there I have not added/modified anything in users yet.

7558.png
Just a note that this is a personal account that I'm trying to set up and not a business account.

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------

Hi @Tejaskumar_Darji

Have you tried using the vbo to access your work domain email rather than a private one?​

@ewilson I may be misunderstanding here but you seem to be saying as long as a hotmail.com email id is in the azure directory, the office365 vbo will be able to access it. I had assumed we could only access emails on our outlook365 domain?

Kirk​

------------------------------
Kirk Russell Senior Robotics Developer
NHS Dorset
NHS Dorset
------------------------------

@Kirk Russell - You are correct. It has to be an email within the Azure domain. I thought I had read somewhere that a guest user could be set up within the Azure AD and then be available via Graph actions, but now I can't find the article. 🤷‍♂️

Cheers,​

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------