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

[CoE Starter Kit] How to setup connection to custom connector #6079

Closed
dcurt1977 opened this issue Jul 14, 2023 · 14 comments
Closed

[CoE Starter Kit] How to setup connection to custom connector #6079

dcurt1977 opened this issue Jul 14, 2023 · 14 comments
Assignees
Labels
coe-starter-kit CoE Starter Kit issues duplicate This issue or pull request already exists question Further information is requested

Comments

@dcurt1977
Copy link

Describe your bug, question or feature ask.

I'm in the process of upgrading the Center of Excellence - Audit Logs and experiencing some difficulties creating a connection to Office 365 Management API. When I create a connection and the page refresh, the page refresh then defaults back to "Select a connection." Can you please provide some guidance?

image

@manuelap-msft manuelap-msft changed the title [Power Platform communication site template] Question [CoE Starter Kit] Question Jul 17, 2023
@manuelap-msft manuelap-msft added question Further information is requested coe-starter-kit CoE Starter Kit issues and removed powerplatformhub labels Jul 17, 2023
@Jenefer-Monroe
Copy link
Collaborator

Hello, please note that we are deprecating the Custom Connector technique to gather audit logs.
It is recommended that you instead Collect audit logs using an HTTP action

Recommended path

Please follow the steps at Collect audit logs using an HTTP action

Deprecated path

If you do wish to use the custom connector note that we are removing it in August so you will need to maintain a local copy before that upgrade. See How to maintain custom connector methodology to gather audit logs

In order to create a connection to the custom connector you need to follow the steps in Collect audit logs using a custom connector (deprecated).
In particular you cannot create a connection to the CC until you set it up as described in this section of that article: Set up the custom connector

@Jenefer-Monroe Jenefer-Monroe changed the title [CoE Starter Kit] Question [CoE Starter Kit] How to setup connection to custom connector Jul 17, 2023
@dcurt1977
Copy link
Author

I am trying to set up the HTTP action, but the flow keeps failing even though I have entered all the information for the variables. Any thoughts?

image

@Jenefer-Monroe
Copy link
Collaborator

Please share a screenshot of your API Permissions for the app registration.

@dcurt1977
Copy link
Author

image

@Jenefer-Monroe
Copy link
Collaborator

ok yes you have delegated permissions there but you need application permissions.
Please see Create an Azure AD app registration for the Office 365 Management API
image

I believe you will need to delete the delegated permissions now and re-add as application

@Jenefer-Monroe Jenefer-Monroe added the duplicate This issue or pull request already exists label Jul 19, 2023
@dcurt1977
Copy link
Author

We make the changes, but the flow run failed again with the same error message. Do i need to delete the Center of Excellence - Audit Log solution?

image

@Jenefer-Monroe
Copy link
Collaborator

Please share a screenshot of the new API Permissions

@dcurt1977
Copy link
Author

image

@Jenefer-Monroe
Copy link
Collaborator

Please delete the delegated permission row. I believe if you have both it uses the delegated.

@dcurt1977
Copy link
Author

I'm still getting the error message.

image

Can i update the Azure Key Vault from this screen? Looks like when i update in the environment variable, it doesn't appear in the environment.

image

@dcurt1977
Copy link
Author

It appears that nothing has worked to set up audit log using the HTTP action, so will try the other method. The current version of the audit log is 2.10 as I'm not able to successfully upgrade yet to the latest version. Also, to maintain a local copy of the Office 365 Management API in my environment, create an unmanage solution then add the existing Office 365 Management API?

@Jenefer-Monroe
Copy link
Collaborator

Here are the steps to maintain custom connector methodology to gather audit logs
#6017

@dcurt1977
Copy link
Author

dcurt1977 commented Jul 21, 2023

I tried turning on the New| [Child] Admin | Sync Logs (Flow) and getting the below error message.

image

When i click to open the flow, i get this blank screen. Please advise.

image

@Jenefer-Monroe
Copy link
Collaborator

Duping to your other issue, we can resolve there together
#6150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coe-starter-kit CoE Starter Kit issues duplicate This issue or pull request already exists question Further information is requested
Projects
Archived in project
Development

No branches or pull requests

4 participants