Unable to connect with Microsoft services

Hi all,
just started the UiPath intro to automation course and encountering this error while trying to connect microsoft services in template of studio web.. I tried to connect with correct microsoft ID and with alternatives too , it isn’t working . Is there any alternative to this
Also in UiPath Studio software , i cannot find similar template to continue the course
Kindly review
{
“title”: “failure.details”,
“provider”: {
“endpoint”: “GET /me”,
“statusCode”: “403 (Forbidden)”,
“errorMessage”: “error - {code=UnknownError, message=, innerError={date=2025-08-27T04:46:25, request-id=a4297cd3-3f28-4873-a4e3-206f003d51c1, client-request-id=a4297cd3-3f28-4873-a4e3-206f003d51c1}}”
},
“UiPath”: {
“requestId”: “4644270238981745337”,
“statusCode”: “Forbidden”,
“errorMessage”: “Failed to execute API with Microsoft OneDrive & SharePoint during provisioning”
}
}

Hey @AVIRAL_AGARWAL,

The error occurs because your Microsoft account lacks required Graph API permissions, so the connection is blocked. Request admin consent or use an account with proper OneDrive & SharePoint access. As an alternative, configure the Microsoft Office 365 scope activity in UiPath Studio with client ID, secret, and tenant ID to proceed.

2 Likes

@AVIRAL_AGARWAL,

This error occurs when you try to connect with personal/free Office account and that is not supported. To work with O365 activities, you should have a Office 365 paid account access.

got it thanks.. so i’ll be moving on with alternative i.e. Google sheets template , i don’t think it would affect anywhere during the course

1 Like

@AVIRAL_AGARWAL,

That will also work.

Kindly close the thread by marking my answer as solution so it will help other community members as well.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.