Thanks Jithin. Yes, that fixed the issue.
Hi Jithin,
I am now getting the below run time error in send mail when the parameters are passed in. It seems to complain about the tenant id, but that tenant id is correct.
Microsoft.Graph.ServiceException: Code: generalException
Message: An error occurred sending the request.
—> Microsoft.Identity.Client.MsalServiceException: AADSTS900023: Specified tenant identifier ‘dd5b5d42-c0d3-4ad2-b5f1-60edb3af277’ is neither a valid DNS name, nor a valid external domain.
Trace ID: 36916da3-6bf0-4456-ae6e-6d5ad3496d00
Correlation ID: f053d635-061b-4b58-bc2c-7d91019442c3
Timestamp: 2022-11-08 01:31:22Z
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__24.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 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at UiPath.MicrosoftOffice365.Activities.Mail.SendMail.d__54.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)
Hi @Bearcats96 - This is something new for me as well. I would suggest creating a new topic in Forum since this one is marked solved; others might skip it thinking it’s already resolved.
@JithinKP Yes, I did. It was resolved as well. The tenant ID given to me was wrong
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.