Getting error on opening Microsoft remote desktop: The file “com.microsoft.rdc.application-data.sqlite” couldn’t be opened

In my case (on MacOs Big Sur) the folder com.microsoft.rdc.macos was located in the ~/Library/Containers/Microsoft Remote Desktop/Data/Library/Application Support folder. I removed Microsoft Remote Desktop folder and the problem solved