In general, we would see this error if there is a policy in your subscription which disallows to create / update of such resources which are in your exercise. To be able to proceed further, you might have to disable that policy which was not allowing the successful deployment. For more information retrieving details about the policy that blocked your deployment, please refer this article.
Please verify also you follow all the steps in the exercise correctly.