Bug with the link generated by One NOte and Planner (maybe others)

%3CLINGO-SUB%20id%3D%22lingo-sub-260375%22%20slang%3D%22en-US%22%3EBug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260375%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20paste%20a%20OneNote%20URL%20into%20a%20Task%20Link%20it%20says%20that%20the%20URL%20is%20invalid.%20Same%20problem%20with%20a%20link%20to%20another%20Task.%20Very%20annoying%20bug%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-271430%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-271430%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20this%20problem%20too.%3C%2FP%3E%3CP%3ESlightly%20annoying%20as%20previously%20linking%20to%20OneNote%20pages%20which%20have%20the%20ampersand%20sign%20worked%20fine.%3C%2FP%3E%3CP%3EI%20have%20upvoted%20the%20bug.%20Hopefully%20it%20gets%20resolved%20soon%20as%20we%20are%20trying%20to%20use%20the%20MS%20suite%2C%20but%20things%20like%20this%20create%20quite%20an%20annoyance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-263569%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-263569%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20problem.%20Thanks%20for%20starting%20the%20conversation%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EVery%20limiting%20since%20Planner%20doesn't%20have%20any%20other%20way%20to%20add%20attachments%20except%20through%20links.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262058%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262058%22%20slang%3D%22en-US%22%3E%3CP%3ESomeone%20else%20has%20reported%20the%20bug%20at%20%3CA%20title%3D%22Planner%20UserVoice%20Bug%20Reports%22%20href%3D%22https%3A%2F%2Fplanner.uservoice.com%2Fforums%2F330525-microsoft-planner-feedback-forum%2Fsuggestions%2F35508088--bug-url-with-are-not-correct-url-needs-a-fi%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAmpersand%20URL%20Bug%3C%2FA%3E.%20I%20suggest%20we%20all%20vote%20it%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-262042%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-262042%22%20slang%3D%22en-US%22%3E%3CP%3ENote%20that%20the%20workaround%20where%20I%20switch%20an%20ampersand%26nbsp%3Bfor%20a%20plus%20sign%20does%20not%20render%20every%20URL%20valid.%20Although%20Planner%20will%20allow%20them%20to%20save%20and%20this%20worked%20for%20links%20to%20other%20Planner%20boards%2C%20some%20other%20manipulated%20URLs%20to%20other%20sites%20fail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261960%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261960%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20works%20for%20the%20links%20to%20Tasks.%20But%20not%20for%20the%20link%20to%20OnePages.%20I%20hope%20they%20will%20fix%20that%20bug%20soon...%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261657%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261657%22%20slang%3D%22en-US%22%3E%3CP%3EI%20found%20a%20weird%20solution%20that%20worked%20for%20me.%20For%20example%2C%20I%20start%20with%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Etasks.office.com%2Fcompany.com%2Fen-US%2FHome%2FPlanViews%2F%3CSPAN%3EXXXXXXX%3C%2FSPAN%3E%3FType%3DPlanLink%26amp%3BChannel%3DLink%26amp%3BCreatedTime%3DTIME%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EObviously%2C%20the%20%22https%3A%2F%2F%22%20prefix%20is%20already%20provided%20by%20Planner.%20I%20substituted%20my%20private%20info.%20But%20it%20complains%20when%20I%20give%20it%20the%20above%2C%26nbsp%3Bsaying%2C%20%22%3CSPAN%3EPlease%20enter%20a%20valid%20url%3C%2FSPAN%3E%22%2C%20leaving%20the%20Save%20button%20disabled.%20When%20I%20switch%20it%20to%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Etasks.office.com%2Fcompany.com%2Fen-US%2FHome%2FPlanViews%2F%3CSPAN%3EXXXXXXX%3C%2FSPAN%3E%3FType%3DPlanLink%2BChannel%3DLink%2BCreatedTime%3D%3CSPAN%3ETIME%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E....now%20the%20Planner%20error%20goes%20away%20and%20the%20Save%20button%20becomes%20enabled.%20If%20I%20click%20the%20link%20in%20the%20saved%20Planner%20task%20now%2C%20it%20opens%26nbsp%3Bthe%20right%20board%20up%20and%20the%20URL%20I%20see%20in%20the%20address%20bar%20ends%20up%20being%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftasks.office.com%2Fcompany.com%2FEN-US%2FHome%2FPlanner%23%2Fplantaskboard%3FgroupId%3Dguid%26amp%3BplanId%3DXXXXXXX%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftasks.office.com%2Fcompany.com%2FEN-US%2FHome%2FPlanner%23%2Fplantaskboard%3FgroupId%3Dguid%26amp%3BplanId%3DXXXXXXX%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENotice%20the%20ampersands%20are%20put%20back%20in%20place%20and%20everything%20works!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261646%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261646%22%20slang%3D%22en-US%22%3E%3CP%3EI%20add%20the%20link%20as%20an%20attachment%20to%20the%20Planner%20task.%20For%20example%2C%20if%20I%20go%20to%20another%20Planner%20board%20and%20obtain%20the%20link%20to%20it%20and%20then%20paste%20it%20as%20an%20attachment%20to%20the%20other%20task%20in%20the%20other%20board%2C%20I%20get%20the%20stated%20error.%20I've%20also%20narrowed%20down%20the%20problem%20to%20the%20use%20of%20the%20ampersand%20symbol%20in%20a%20URL.%20That's%20why%20it%20complains.%20Remove%20the%20ampersand%20and%20the%20Planner%20task%20attachment%20link%20screen%20likes%20it%2C%20but%20obviously%20now%20the%20URL%20won't%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261181%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261181%22%20slang%3D%22en-US%22%3ESorry%20for%20the%20typo%2C%20I%20mean%20the%20link%20you%20can%20get%20in%20the%20Share%20section%20in%20OneNote%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261137%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261137%22%20slang%3D%22en-US%22%3E%3CP%3ELinks%20from%20One%20Drive%20seem%20to%20work.%20The%20point%20is%20that%20you%20don't%20want%20to%20link%20the%20entire%20One%20Note%2C%20you%20want%20to%20link%20to%20a%20specific%20Page.%20And%20what%20is%20the%20point%20of%20having%20a%20copy%20link%20option%20if%20the%20link%20you%20copied%20is%20unusable%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBy%20the%20way%20I%20think%20those%20links%20are%20problematic%20for%20other%20third%20party%20applications.%20I%20know%20they%20dont%20work%20in%20JIRA%20either.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261128%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261128%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20to%20use%20the%20link%20you%20can%20get%20in%20ODFB%20in%20the%20Share%20section%3F%20I%20have%20just%20used%20the%20link%20generated%20for%20one%20of%20my%20OneNotes%20in%20a%20Planner%20Task%20with%20no%20problems%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261107%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261107%22%20slang%3D%22en-US%22%3E%3CP%3EThese%20are%20the%20exact%20steps%3A%3C%2FP%3E%3CP%3E-%20right%20click%26nbsp%3Bon%26nbsp%3Ba%20One%20Note%20page%20and%20Select%20%22Copy%20Link%22%3C%2FP%3E%3CP%3E-%20Open%20a%20Task%20and%20Click%20%22Add%20Attachment%22%3C%2FP%3E%3CP%3E-%20Select%20%22Add%20Link%22%3C%2FP%3E%3CP%3E-%20Paste%20the%20previously%20copied%20link%3C%2FP%3E%3CP%3E-%20Error%20Message%20%3A%20%22%3CSPAN%3EPlease%20enter%20a%20valid%20url%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-260951%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260951%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200640%22%20target%3D%22_blank%22%3E%40Vincent%20Perron%3C%2FA%3E%2C%20this%20is%20the%20validation%20issue%20with%20Microsoft%20latest%20update.%20I%20have%20tried%20adding%20the%20same%20OneNote%20%2F%20Planner%20task%20link%20via%20Graph%20API%20and%20it%20linked%20to%20the%20task%20successfully.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F73630%22%20target%3D%22_blank%22%3E%40Joanna%20Parkhurst%3C%2FA%3E%2C%20can%20you%20please%20help%20to%20get%20this%20fixed.%20This%20limits%20the%20planner%20usage%20in%20many%20ways.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-260756%22%20slang%3D%22en-US%22%3ERe%3A%20Bug%20with%20the%20link%20generated%20by%20One%20NOte%20and%20Planner%20(maybe%20others)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260756%22%20slang%3D%22en-US%22%3EHow%20are%20you%20adding%20the%20link%20to%20the%20Task%3F%20In%20a%20Task%20comment%3F%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

When I paste a OneNote URL into a Task Link it says that the URL is invalid. Same problem with a link to another Task. Very annoying bug

13 Replies
Highlighted
How are you adding the link to the Task? In a Task comment?
Highlighted

@Vincent Perron, this is the validation issue with Microsoft latest update. I have tried adding the same OneNote / Planner task link via Graph API and it linked to the task successfully. 

 

@Joanna Parkhurst, can you please help to get this fixed. This limits the planner usage in many ways. 

Highlighted

These are the exact steps:

- right click on a One Note page and Select "Copy Link"

- Open a Task and Click "Add Attachment"

- Select "Add Link"

- Paste the previously copied link

- Error Message : "Please enter a valid url"

Highlighted
Have you tried to use the link you can get in ODFB in the Share section? I have just used the link generated for one of my OneNotes in a Planner Task with no problems
Highlighted

Links from One Drive seem to work. The point is that you don't want to link the entire One Note, you want to link to a specific Page. And what is the point of having a copy link option if the link you copied is unusable ?

 

By the way I think those links are problematic for other third party applications. I know they dont work in JIRA either. 

Highlighted
Sorry for the typo, I mean the link you can get in the Share section in OneNote
Highlighted

I add the link as an attachment to the Planner task. For example, if I go to another Planner board and obtain the link to it and then paste it as an attachment to the other task in the other board, I get the stated error. I've also narrowed down the problem to the use of the ampersand symbol in a URL. That's why it complains. Remove the ampersand and the Planner task attachment link screen likes it, but obviously now the URL won't work.

Highlighted

I found a weird solution that worked for me. For example, I start with, 

 

tasks.office.com/company.com/en-US/Home/PlanViews/XXXXXXX?Type=PlanLink&Channel=Link&CreatedTime=TIME

 

Obviously, the "https://" prefix is already provided by Planner. I substituted my private info. But it complains when I give it the above, saying, "Please enter a valid url", leaving the Save button disabled. When I switch it to this:

 

tasks.office.com/company.com/en-US/Home/PlanViews/XXXXXXX?Type=PlanLink+Channel=Link+CreatedTime=TIME

 

....now the Planner error goes away and the Save button becomes enabled. If I click the link in the saved Planner task now, it opens the right board up and the URL I see in the address bar ends up being:

 

https://tasks.office.com/company.com/EN-US/Home/Planner#/plantaskboard?groupId=guid&planId=XXXXXXX

 

Notice the ampersands are put back in place and everything works!

 

Highlighted

It works for the links to Tasks. But not for the link to OnePages. I hope they will fix that bug soon... 

Highlighted

Note that the workaround where I switch an ampersand for a plus sign does not render every URL valid. Although Planner will allow them to save and this worked for links to other Planner boards, some other manipulated URLs to other sites fail.

Highlighted

Someone else has reported the bug at Ampersand URL Bug. I suggest we all vote it up.

Highlighted

Same problem. Thanks for starting the conversation

 

Very limiting since Planner doesn't have any other way to add attachments except through links.

Highlighted

I have this problem too.

Slightly annoying as previously linking to OneNote pages which have the ampersand sign worked fine.

I have upvoted the bug. Hopefully it gets resolved soon as we are trying to use the MS suite, but things like this create quite an annoyance.