OfficeDev / PnP-WOPI

Patterns and Practices repo for Office Online integration via WOPI Host
MIT License
86 stars 41 forks source link

Can't logon to the sample WOPI host implementation #20

Open KeithK-NJ opened 4 years ago

KeithK-NJ commented 4 years ago

The document on docs.microsoft.com linking to this repo (https://docs.microsoft.com/en-us/samples/officedev/pnp-wopi/pnp-wopi/) indicates: "This WOPI host implementation is deployed to https://officewopi.azurewebsites.net and can be used/tested by anyone with an organization/student account registered with Microsoft (read: Office 365 logins). It is provided for testing/experimenting purposes and offered with no service level agreement."

However, this seems to linked to a tenant for 'American Nurses Association' and login seems to fail (I tried three different accounts).

sanni-456 commented 3 years ago

I did experience same issue - Login fails for all Microsoft accounts. Also, It will be more helpful if we have one sample file and it's property values exist in document db to understand sample code.

g-martinse commented 2 years ago

@lindalu-MSFT The url provided did not work. Any hints?

sanni-456 commented 2 years ago

Yes, That URL never worked. I tried the below options Option1: Create your environment: I Installed OOS 2016 on VM, assigned a custom domain and SSL that expose WOPI Discovery ​Ex: https://officeapps.example.com/hosting/discovery ​Made minor changes to sample code to meet my requirement for storing and retrieving documents and deployed on the azure web app, registered the web app in AAD so that you can configure app credentials in config file this allows you to log in with your AD accounts to the site.

Option 2: Utilize the MS Office test environment https://ffc-onenote.officeapps.live.com/hosting/discovery You can register for Cloud Storage Partner Program so that you can submit a request to "csppinfo@microsoft.com" to add your domain or post your request to the CSPP Yammer Group https://www.yammer.com/officeenterprisenda/]. This option allows you to focus on WOPI Host and API development and directly use the MS Test environment to validate your integration.

In both options, you have to make minor adjustments to the sample code to work as expected. I hope this info will help you.

benjamintokgoez commented 3 months ago

Would be great if we could update the Readme and provide working urls.