Cannot access the one drive using user email addres (like "/drives/{emailAddress}")

%3CLINGO-SUB%20id%3D%22lingo-sub-2545529%22%20slang%3D%22en-US%22%3ECannot%20access%20the%20one%20drive%20using%20user%20email%20addres%20(like%20%22%2Fdrives%2F%7BemailAddress%7D%22)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2545529%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20were%20using%20the%20Azure%20Application%20with%20special%20rights%20to%20upload%20a%20file%20to%20user's%20One%20Drive%20using%20OneDrive%20API%20where%20we%20identify%20the%20drives%20using%20user%20email.%3CBR%20%2F%3EWe%20were%20using%20the%20for%20example%20%2Fdrives%2F%7BuserEmailAddress%7D%2Froot%3A%7BfilePath%7D%20to%20get%20the%20file%20info%20(see%20-%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fdeveloper%2Frest-api%2Fapi%2Fdriveitem_get%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fdeveloper%2Frest-api%2Fapi%2Fdriveitem_get%3C%2FA%3E)%2C%20but%20since%2011th%20of%20July%202021%20that%20does%20not%20work.%3CBR%20%2F%3EOnly%20%7BUserID%5BGUID%5D%7D%20might%20be%20used%20there%20and%20the%20%7BuserEmailAddress%7D%20does%20not%20work%20any%20more.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQuestion%20is%20if%20this%20was%20intended%20and%20it%20will%20stay%20like%20that%20or%20it%20was%20changed%20by%20mistake%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2545529%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

Hi, 

We were using the Azure Application with special rights to upload a file to user's One Drive using OneDrive API where we identify the drives using user email.
We were using the for example /drives/{userEmailAddress}/root:{filePath} to get the file info (see - https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get), but since 11th of July 2021 that does not work.
Only {UserID[GUID]} might be used there and the {userEmailAddress} does not work any more.

 

Question is if this was intended and it will stay like that or it was changed by mistake?

0 Replies