I created one but when trying to run PUT command it is stating Method not allowed.
Do you have a detailed error message? usually IIS will allow the PUT method in the IIS Request Filtering for the web application, and the Method not allowed
is usually because of a 405 error, do you also get the same error? If yes, I suggest you to use failed request trace to see detailed error message, this will tell you where the problem is.
Besides, If you don't need to use WebDAV, then the easiest and the best way to fix "405 method not allowed" issue is to remove WebDAV from your system. You can easily get this done in Turn Windows Features On or Off
simply un-ticking the checkbox.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.