This operation should have no direct impact on the device's local files and folders. It would primarily affect the device's ability to use its device identity to authenticate to Azure AD or other cloud services.
https://learn.microsoft.com/en-us/azure/active-directory/devices/manage-device-identities