Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sharepoint] Can't config the connect app after installed it - BC-64888 #7

Open
cjacobop opened this issue May 29, 2024 · 15 comments
Open

Comments

@cjacobop
Copy link

cjacobop commented May 29, 2024

Hi Team,

McKinsey is trying to set up the BC Video Connect to Sharepoint.
After they installed it, they were able to add it and it appeared
in their site connection.
However after the app was added, and they clicked on the Brightcove Video Connector item in the Site Contents List, they got the error message as shown below.

Screenshot 2024-05-29 at 14 57 59

Would you help me point out what mistakes they might make?
I have attached their worksheet.
They mentioned that the app has no component, and they believe that they are using Sharepoint online and our connector doesn’t support their Sharepoint.

Screenshot 2024-05-29 at 14 58 40

Customer: McKinsey & Company
Support Package: Platinum Support
Sharepoint: SR|16.0.0.24824

Please let me know if you need any additional info.

Many Thanks!

@cjacobop
Copy link
Author

@Oceanswave
Copy link
Collaborator

This isn't a SharePoint connector related issue, but rather an issue with the SharePoint Online configuration with apps.

Please follow the instructions in the error message https://aka.ms/redirectUriMismatchError to learn more to how to fix this.

@cjacobop
Copy link
Author

thanks Sean !

@cjacobop
Copy link
Author

cjacobop commented Jul 3, 2024

have provided the MS doc, but they seemed to have an issue after Installing the App, its not showing the details with the App ID.

Customer says:
Screenshot 2024-07-02 at 20 32 43

This app doesn’t seem to be registered in Azure. I just got the App ID from the SharePoint App Store. The package you are referring to might be different from what I have installed in our environment. The App ID that I entered in the screenshot below is not searchable in Azure Entra ID. Please advise us

@Oceanswave
Copy link
Collaborator

Hey Carlos,

I'm not sure what the customer is attempting to do, but there isn't an Azure integration with the app nor any EntraID integration, This is a SharePoint app, after adding the app to the app catalog and adding it to a site, it shows up in their SharePoint environment.

@cjacobop
Copy link
Author

Support had another call with the customer, and we solved the redirect issue part.
When we added the VC account info to the app, we encountered the issue that the account info didn’t show up even we saved the account.

Screenshot 2024-07-26 at 9 04 00 AM

But after the call, the customer somehow managed the issue, but now the below error message comes when trying to upload a video :

“ An error has occurred while creating the Brightcove Video: An error occurred while attempting to contact the Brightcove Proxy. Please ensure the proxy is operational. Error: Unable to obtain access token”

“An error occurred while attempting to contact the Brightcove Proxy. Please ensure the proxy is operational. Error: Unable to obtain access token”

Can you please tell us how I can resolve this error? FYI, while adding the account, I did provide the account id , Client id and Client secret and left the Proxy url empty.

Account Info that used for the connector:
Account ID: 6148232731001
Player: oXY5l9XbL
Client ID: 164a7f83-3bde-42bb-bae8-45a3b7633a06

image001 (15)

@Oceanswave
Copy link
Collaborator

Oceanswave commented Jul 27, 2024

Hi Carlos,

For the first issue, it's due to the user not having the correct permissions set for the user. Ensure that the correct groups are set in configuration and the user is added to the indicated group.

image

For the second,a proxy has not been a required part of the SharePoint connector for quite some time and indicates that there is an incorrect value set as the proxy url in configuration.

Leave this value blank:
image

The proxy url is only for scenarios where users are unable to contact the Brightcove API directly due to internal IT/IS security policy.

See this for installation instructions:
https://integrations.support.brightcove.com/sharepoint/getting-started-brightcove-video-connect-sharepoint.html

@cjacobop
Copy link
Author

thanks Sean

@cjacobop
Copy link
Author

For the second issue, the customer told me that they left the proxy URL blank.
Can you please let me know where I can check their settings?
Should it be “Account Management”?

@Oceanswave
Copy link
Collaborator

Yes, that is correct.
image

And then "Connector Settings"

image

If the proxy url is left blank, but the user is getting the proxy message, it indicates that a connection to brightcovehttps://cms.api.brightcove.com/ could not be established or the supplied API credentials are incorrect.

@cjacobop
Copy link
Author

cjacobop commented Aug 7, 2024

this is the API credential info they are using and I believe it’s not missing anything.
Client ID: 164a7f83-3bde-42bb-bae8-45a3b7633a06
Player: https://jsp.brightcove.com/players/player-editor?accountId=6148232731001&playerId=oXY5l9XbL

Screenshot 2024-08-07 at 14 10 28

This is their reply

@cjacobop
Copy link
Author

image001 (17) This is the error the customer is getting. Could you advise?

@Oceanswave
Copy link
Collaborator

That message occurs when the Brightcove Client Id has been improperly entered or is no longer valid.

{
"error": "invalid_client",
"error_description": "The "client_id" parameter is missing, does not name a client registration that is applicable for the requested call, or is not properly authenticated."
}

Please check that a Brightcove Client Id and Secret, as created in Brightcove Studio -> Admin -> API Authentication is correct as entered in to the Account created in Account Management in the connector

Screenshot 2024-08-23 at 10 02 50 AM

and that an appropriate level of permissions as to the intent of the connector's functionality has been set on that API Authentication in Brightcove Studio.

@cjacobop
Copy link
Author

regarding the client ID, we already confirmed that it is correct.

The customer is using this credential and I do not believe it is invalid as you verified before.
If they are using this client ID, and what possibility that they got this error?

{
"error": "invalid_client",
"error_description": "The "client_id" parameter is missing, does not name a client registration that is applicable for the requested call, or is not properly authenticated."
}

@Oceanswave
Copy link
Collaborator

I can repo this 100% if the Client ID or Client Secret is incorrect or doesn't have the correct permissions.

This message comes from the Brightcove API, so you can contact Brightcove engineering to perform additional tracing to determine what is invalid here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants