Authentication Issue with Item Deleting in Remote event receiver

%3CLINGO-SUB%20id%3D%22lingo-sub-2564787%22%20slang%3D%22en-US%22%3EAuthentication%20Issue%20with%20Item%20Deleting%20in%20Remote%20event%20receiver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2564787%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20Item%20Deleting%20event%20is%20triggered%20in%20remote%20event%20receiver%20is%20throwing%20an%20authentication%20error%20from%26nbsp%3B%3CSTRONG%3Egetapponlyaccesstoken%20%3C%2FSTRONG%3Ewhile%20fetching%20the%20access%20token%20and%20SharePoint%20context%20to%20access%20the%20current%20item%20metadata.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22KeerthiTadepalli_0-1626765871869.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F297020iD753281419BF83BF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22KeerthiTadepalli_0-1626765871869.png%22%20alt%3D%22KeerthiTadepalli_0-1626765871869.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2564787%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Developer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%20Office%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

When Item Deleting event is triggered in remote event receiver is throwing an authentication error from getapponlyaccesstoken while fetching the access token and SharePoint context to access the current item metadata.

 

KeerthiTadepalli_0-1626765871869.png

 

0 Replies