Try ERPNext Buy Support Partners Foundation

Can't edit Authroize/Token ID for Office 365 to replace 'common' with Tenant ID

As the title states, there should be an extra field called Tenant ID which is set to Common by default but can be overwritten with a custom Tenant ID. Or the Authorize and Token URLs should be writable so they can manually be changed… Seems easy to implement, I’ve been changing my source files but that breaks the Bench Update command