Yes, the type of application you register is important. If this is your first app, I'd recommend utilising a convergent application to ensure that it works with both O365 and Microsoft accounts. The complete description may be seen at the link above.