Apple and Microsoft were founded less than a year apart in the mid-1970s. In the following years the companies went through multiple cycles of partnership and discord. Microsoft's surprise on-stage presence at an Apple media event last week demonstrated just how cordial things have again become as the two tech giants are seemingly pleased to be in each other's good graces.\nThe companies' shared future in the enterprise market in large part fuels this renewed spirit of compromise. And the software, services and devices both companies sell will be increasingly complementary.\u00a0\nApple hardware, Microsoft software\nMicrosoft's future in the business world will relate to OS and productivity software and cloud services, while Apple maintains a significant lead when it comes to software, according to Jan Dawson, chief analyst and founder of tech research firm Jackdaw.\u00a0\n[Related Feature: CIOs say Apple still doesn't care about enterprise]\nMicrosoft "makes many of the tools employees actually need \u2026 to get their jobs done," Dawson says. "Apple obviously does make alternatives for some of those tools, but in the vast majority of cases they're either inferior or simply not supported by IT departments."\nMacBooks and other Apple devices will be more compelling to enterprises if Microsoft starts treating that hardware as a "first-class citizen" for new Office apps and other software, according to Dawson. However, Apple also needs to continue to make it easier for businesses to deploy those devices at scale along with the Microsoft software they need.\n"Except for Windows, Microsoft's elements will increasingly need to run on Apple hardware, so the companies will definitely be working together more," Dawson says. "The good thing is that Microsoft has stopped resisting this inevitable outcome, and is instead embracing a future that's as much about third-party devices as its own devices and operating systems."\u00a0\nHistory of ebbs and flows between Apple and Microsoft\u00a0\nThe companies may be friendly today for revenue's sake, and for future opportunities in enterprise, but the relationship hasn't been this way for long.\nJust two years ago, Apple's CEO Tim Cook painted Microsoft as a confused competitor. "They chased after netbooks," Cook said during a press event in October 2013. "Now they're trying to make PCs into tablets and tablets into PCs. Who knows what they will do next?"\u00a0\nDuring the dawn of the smartphone revolution in 2007, Microsoft's former CEO Steve Ballmer told USA Today: "There's no chance that the iPhone is going to get any significant market share. No chance."\u00a0\nAnd when the late Steve Jobs, cofounder and CEO of Apple, was asked what it was like using iTunes on a Windows PC at the 2007 D Conference, he said: "It's like giving a glass of ice water to someone in hell."\nThese aren't exact the sentiments of friendly corporations, but that was then, and today is a different story \u2026 for now.\n[Related Feature: CIOs say AppleCare for enterprise is lacking]\n"Who to know better about productivity than Microsoft?" Phil Schiller, Apple's vice president of marketing, asked a notably quiet crowd at the company's event last week before inviting Microsoft on stage to demonstrate new Office 365 features for the iPad Pro.\n"Though the companies absolutely still compete, the increased degree of rationality at Microsoft has opened the door to partnerships and other forms of working together," says Dawson.\n REUTERS\/ Beck Diefenbach \n\u00a0\nKirk Koenigsbauer (L), Corporate Vice President, Office 365 Client Apps and Services Team, is greeted by Phil Schiller as he takes the stage to discuss Microsoft Office for the iPad Pro during an Apple media event in San Francisco, California, September 9, 2015\n\n'Real magic happens' when Apple, Microsoft cooperate\nChip Pearson, the former CEO of JAMF Software, a mobile device management vendor for Apple products, who's now focused on strategic partnerships, says the "real magic happens" when Apple and Microsoft work together on products for enterprise. "I believe that in a perfect world, an organization or user has Microsoft applications and backend services running on Apple endpoints."\u00a0\nIT administrators and users both benefit from having their technology needs met through the cooperation and coexistence of both companies, according to Pearson. "It's hard to look at any human endeavor where two groups of very capable and skilled people weren't able to do more when working together."\n[Related News Analysis: 5 things you need to know about Apple's volume purchase program]\nOf course, there's no telling how long relations between the two competitive companies will continue to be friendly. "Many things change on a cyclical pattern, and there does seem to be a historical precedent for the warming trend to continue," says Pearson. "However, history isn't destiny, and humans working together for their common goals is good as long as both parties are getting their needs met."\nDawson has an equally positive outlook for the companies' alliance in enterprise, but he sees more subtle signs of compromise instead of more formal partnerships like the ones Apple struck with IBM and Cisco. "As long as Microsoft stays on this more rational, open course with regard to developing software for third party devices and platforms, I can only see the relationship continuing to warm up."