If you are trying to use KMS to activate your subscription-based Office 365 apps, here is the short answer: You can't. The Core Difference: Subscription vs. Volume License
cscript slmgr.vbs /ipk <Your-KMS-Host-Key>
cscript slmgr.vbs /ato
cscript slmgr.vbs /dli
KMS Availability: KMS is intended for perpetual, volume-licensed versions like Office LTSC 2024, 2021, 2019, and 2016.
For detailed technical steps, refer to these official resources from Microsoft Learn Overview of licensing and activation in Microsoft 365 Apps