Forum Discussion
WebAction.Request Post Request No permission
Hi All,
Im trying to use WebAction.Request to send a post request to an API one of my colleagues has set up. I have to use WebAction.Request as I need the windows authentication rather than the anonymous authentication used via Web.Contents.
My Query is below but I am getting a We haven't been given permission to perform actions on this resource". Has anyone seen this before?
Thanks,
Conor
4 Replies
- v-angzheng-msft
Community Support
Hi, Anonymous
Here are some references that may be helpful for you.
Expression.Error: We haven't been given permission to perform actions against this resource
How to send a GET method with content data with M?
Note that this function(WebAction.Request) is disabled in most contexts.Consider using Web.Contents or Web.Headers instead.
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Hi Zeon,
But as I mentioned I cant use Web.Contents- RHOU
Advocate IV
this is really frustrating ... why can't they just let us specifiy the HTTP Method our selves in Web.Contents() instead of arbitrarily deciding based on whether contents is included or not.