Microsoft is suing the US government over the right to tell its users when federal agencies want access to private data.