From the Microsoft 365 admin center, go to "Settings" from the left-hand menu > "Org settings", select "Services" > "User owned apps and services" Clear the check mark from " Let users access the "Office Store" and “Let users start trials on behalf of your organization”
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin