{"id":603,"date":"2012-10-13T14:22:17","date_gmt":"2012-10-13T20:22:17","guid":{"rendered":"https:\/\/toddbaginski.com\/blog\/?p=603"},"modified":"2013-06-28T15:43:44","modified_gmt":"2013-06-28T21:43:44","slug":"office-web-apps-server-removing-a-sharepoint-wopi-binding","status":"publish","type":"post","link":"https:\/\/toddbaginski.com\/blog\/office-web-apps-server-removing-a-sharepoint-wopi-binding\/","title":{"rendered":"Office Web Apps Server &ndash; Removing A SharePoint WOPI Binding"},"content":{"rendered":"<p>I tried setting up my Office Web Apps Server in my virtual environment on my domain controller to cut down on the number of the virtual machines.&#160; Later, I found out this was unsupported, so I rolled back to a previous snapshot of my domain controller machine and created a new VM just for the Office Web Apps Server.&#160; After I created the new server I needed to change the SharePoint WOPI binding to point to the new server.&#160; Here\u2019s how I did it.<\/p>\n<p>First, I ran the following PowerShell command from the SharePoint 2013 Management Shell.<\/p>\n<p><span style=\"font-family: consolas\">Get-SPWOPIBinding -Server &quot;dc.powder.ski&quot; | Remove-SPWOPIBinding<\/span><\/p>\n<p>This command fetches all the WOPI bindings associated with the Office Web Apps Server I originally created on the domain controller.&#160; Then, it removes them.<\/p>\n<p>After removing the bindings, I registered the new Office Web Apps server named (OffWebApp)with the following commands and everything was up and running.&#160; Notice, you need to use the FQDN for the ServerName switch.&#160; See <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ff431687(v=office.15)\" target=\"_blank\">this TechNet article<\/a> for more information.<\/p>\n<p><span style=\"font-family: consolas\">New-SPWOPIBinding \u2013ServerName offwebapp.powder.ski -AllowHTTP <\/span><\/p>\n<p><span style=\"font-family: consolas\">Set-SPWopiZone \u2013zone \u201cinternal-http\u201d<\/span><\/p>\n<p>Here\u2019s a <a href=\"https:\/\/toddbaginski.com\/blog\/office-web-apps-server-runtime-error-wopiframe\/\" target=\"_blank\">related blog post of mine<\/a> about Office Web Apps Server installation errors that may also come in handy for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried setting up my Office Web Apps Server in my virtual environment on my domain controller to cut down on the number of the virtual<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":608,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[99],"tags":[],"class_list":["post-603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint-2013"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":7,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/603\/revisions"}],"predecessor-version":[{"id":731,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/603\/revisions\/731"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media\/608"}],"wp:attachment":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/categories?post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/tags?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}