I am experiencing the same issue.
I checked and PBIEgwSerice has permissions to create but not to delete in the root of the C drive. I think that is why folders are being created and not cleaned up. But should it be using the root of C to store refresh cache data? Does anyone know where the path for storing refresh cache data is at? Registry entry? Config file? Wondering if that was corrupted during the install maybe.
Are others with this issue running the service under PBIEgwService or a different user? And does that user have permission to delete in the root of the C drive?
That sounds like a good insight because this started for me some days after I upgraded the gateway on the server and changed from a AD-user to PBIEgwService on the service.
I'm going to move the gateway to a new server, not sure whether I'm going to run it as the PBIEgwService or an AD-user. I'll let you know the result anyway.
When I first saw that happened I reset the password for PBIEgwService and next decided to change default account.
I have created new AD account and setup the service to use it.
It changed anything
Folders are still created on C drive.
Ok, that´s god information. Have to tried also granting the active directory account full permission on C-drive to see if it deletes the folders?
Dont think that is a good solution, but would be really good to know...