Hi,
As far as I know you cannot change from a Pay-As-You-Go subscription to a student subscription, the other way around is supported.
Easiest would probably be to re-create the subscription.
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/switch-azure-offer
Best regards,
Leon