@Richa Kumari, Thanks for posting in Q&A.
For shared iPads, it only supports to deploy volume-purchased (VPP), apps, custom apps, line-of-business apps, or web apps. App store app is not applicable to this kind of devices.
https://learn.microsoft.com/en-us/mem/intune/enrollment/device-enrollment-shared-ipad#add-apps
You can choose other type to deploy your app. Hope the above information can help.
If the answer is helpful, 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.