Hi @Anky07
If you are getting the below error. Please see screenshot below

The simple answer is while creating an environment you should select "Enabled Dynamics 365 apps"

Official reference: Please click here
Then you can create customer self service portals
NB: You should also have Power Pages active license to perform this activity.
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.