Hello,
Thank you for your question.
I would like to suggest you to check for new User profile and see if GPO have been applied and storage sense works for that new user profile.
also , please check that GPO result using below cmd
gpresult /h C:\temp\gpresult.htm
Additionally is this script work if you run it manually and Offline cache cleaned up.
Please have a look on below Microsoft article for One Drive GPO and check for Use OneDrive Files On-Demand settings.
https://learn.microsoft.com/en-us/onedrive/use-group-policy
If the reply was helpful, please don’t forget to upvote or accept as answer.