I assume you are not the owner of office365.com
![Smile :)](https://www.tinywebgallery.com/forum/images/smilies/icon_smile.gif)
.
so you are not able to add the needed Javascript to this page to hide anything you like.
The only option you have is to use the "Show only a part of the iframe" feature of the pro version:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe
Because of browser restrictions this it hte only way you can hide header and footer. Auto height is NOT possible as the parent has no idea of the site of the content of the iframe.
Best, Michael