Stock tickers follow their local naming conventions. Thus Microsoft USA has the ticker MSFT, while Microsoft Stuttgart has the ticker MSF.
As per Bloomberg’s codification, tickers generally have a market prefix. For instance Apple can be APPL:US for the American ticker, but will be APC:GR for Germany’s Xetra Stars. Please refer to exchanges codes below.