It appears that onedrive.exe which is used for the Next Generation Client for OneDrive for Business, is located in the users profile appdata/local/Microsoft/ondrive folder and/or subfolders. (It doesn't go in program files???????)
I have tried to use the AppLocker variables to create a path rule to whitelist. The %appdata% maps to the roaming subfolder automatically so I cannot use it to create a path. I have tried the other variables as well to create a path but none of them are"valid".
Is there a way to whitelist the OneDrive.exe using an APPLOCKER rule? We want to use APPLOCKER .exe rules at our school but this is preventing implementation.