Thanks for posting your question in the Microsoft Q&A forum.
I'd use az spring app deployment instead of deploy.
https://zcusa.951200.xyz/en-us/cli/azure/spring/app/deployment?view=azure-cli-latest
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **