Hi Martha,
The scenario showed in the figure is a normal behavior when Outlook for Mac trying to connect to Office 365.
To prevent the multiple prompts in the future, you can select the option Always use my response for this server check box, and then click Allow.