Hi @Pawan
I understand that you are trying to implement MFA for all users under security, but unable to do. and came to know that you need to have P2 license activated first.
You need to make sure that you activate the P2 trial by using an Entra ID user account, not your Microsoft account. Create a new user and try to activate P2 trial version License.
Please follow the below steps from the link where similar issue has been discussed: https://learn.microsoft.com/en-us/answers/questions/2118811/unable-to-activate-p1-or-p2-trial-version-license
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click `Accept Answer`
and `Yes`
.