Hi, I am Van. I'll be glad to assist you today.
If you use your Microsoft account to log in to the device, the digital license will be automatically linked to that account. And you can use your account to reactivate the operating system by using the activation troubleshooter. Kindly follow the guide provided at the link below.
In the link, please proceed to the "Reactivate Windows 11 after a hardware change" section. Then follow the steps in the "If you have a digital license, run the activation troubleshooter" option.
Alternatively, you can try retrieving the license installed on the device using the ShowKeyPlus app, which can be downloaded from the Microsoft Store. Run the app to display the installed license key. Once you retrieve the key, navigate to the activation settings, then select the Change Product Key option to reactivate Windows.
Please let me know if you need any further assistance. I will be glad to assist.