I have an API that sends tasks to MS Tasks by Planner and To Do
with attachments.
Sample API body:
payload = {
...
"title": "I am sending task from python Notebook",
"Notes": "Add some useful notes here",
"attachments": [
{
"url": "https://example.com/test/1123?tenantId=1223-xxxxxx-xxx-xxx-xxxx-12234",
"alias": "attachment"
}
]
}
To be noted:
On the backend side, I am encoding the URL and then passing, otherwise, it won’t accept the request and throws the error - Inspired from MS Docs plannerExternalReferences resource type
Now the task goes into the planner and the attachment URL looks like this - which is expected.
https://example.com/test/1123%3FtenantId%3D223-xxxxxx-xxx-xxx-xxxx-12234
when the user clicks the link on the planner, the browser is not able to read the parameters
from the URL.
what could I do to resolve the issue? or that something MS has to do on their side.