Thanks for posting your question in the Microsoft Q&A forum.
You'll need to follow these steps:
- Move the App Service back to its original resource group
- Create a new resource group in Subscription B
- Move the App Service to the new resource group
- Move the resource group to Subscription B
The App Service must be moved back to its original resource group first before it can be moved to a new subscription. you can only move App Service resources that were originally created together as a group. ensure the App Service doesn't have any dependencies like virtual network integration or private endpoints that would prevent the move
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful