A new law in California meant to inform users on how companies use their data will be applied globally to Microsoft US customers.