Both Germany and France wanted Morocco, but France was given the free hand. This was because of France's alliance with Britain in 1904.
France had a free hand in Morocco!
Kaiser William II was angry at France because France had an influence on Morocco while Germany was excluded. The German government demanded the was an international conference, where Morocco was declared an independent state, however France had special privileges
France wanted complete control of Morocco in 1911 so they increased the French influence by putting in a french sultan. However they had to suppress a rising against him. The Germans responded by sending a gunboat Panther to Agadir. Britain backed up France so the the Germans gave up.
Austria annexed (took control of) Bosnia on October 6th
Austria has strengthened their position in the Balkans without giving the Russians any compensation!!!
Serbia had wanted to create a Greater Serbia which would include Serbia and all neighbouring kindred people. The Austrian annexation destroyed this dream.