@Barend wrote:
Hi,
I’m currently working on a project that involves me working with the office365 scope and a shared mailbox. (I have to work with this because of licenses and company preferences.) I can access the folder of the linked email account just fine. The problem is that when I try to access the shared mailbox with the get mail activity I get an error saying “Invalid mail folder name” I use “sharedMB@company.com\Inbox” to access the shared mailbox. I know for sure that the Inbox folder exists so that is not wrong. I check the spelling of everything used “/” instead of “”. I tried “sharedMB\Inbox” which gives the same error. Does anyone have any idea how I could fix this problem? Or is it just not possible to access a shared mailbox via the office365 activities?
Thank you in advance for your helpFull error:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.MicrosoftOffice365.Office365Exception: Invalid mail folder name. Please ensure that this folder exists and that its name is spelled correctly.
at UiPath.MicrosoftOffice365.Activities.Extensions.OutlookExtensions.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.MicrosoftOffice365.Activities.Mail.GetMail.d__30.MoveNext()
— End of stack trace from previous location where exception was thrown —
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)Office365 activities documentation:
Posts: 2
Participants: 2