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 - Feature]: Integrate new audit log methodology into the kit for API reduction #8482

Closed
Jenefer-Monroe opened this issue Jun 14, 2024 · 7 comments
Assignees
Labels
coe-starter-kit CoE Starter Kit issues enhancement New feature or request officehourTHANKS

Comments

@Jenefer-Monroe
Copy link
Collaborator

Jenefer-Monroe commented Jun 14, 2024

Is your feature request related to a problem? Please describe.

Here is the link to Pete's work https://github.com/petepuu/coekit-auditlogsync-v3
We will integrate with it.
Please investigate on your own if you need this early and get him feedback!

Describe the solution you'd like

Unsure but current idea is to have a single flow with a env var to switch which method to use.
This so that people dont have to re-setup unless they are able to use the new methodology.

Describe alternatives you've considered

No response

Additional context?

No response

AB#3598

@Jenefer-Monroe
Copy link
Collaborator Author

Jenefer-Monroe commented Jul 6, 2024

To convert from the old API (Office 365 Management API, https://manage.office.com) to new API (Graph API, https://graph.microsoft.com)

  1. Upgrade to August 2024 release:

  2. Add the API permission to the existing app registration, and get it granted by admin.
    Microsoft Graph - Application permissions - AuditLogsQuery.Read.All
    Image

  3. Set the env variable Audit Logs - Use Graph API to yes (true)Image

  4. Restart Admin | Audit Logs | Sync Audit Logs (V2) flow to ensure it gets the env var change

This was referenced Aug 1, 2024
@Jenefer-Monroe
Copy link
Collaborator Author

An early release of the August bits are available for testing.
Please see our Preview Builds

Please test for us! But do not install these in your production environment but rather in a test envt to get us feedback.

Here are the August release candidate solutions.
Core 4.33.14
Gov 3.24.1
Nurture 3.18.1

And the PBIT files
Production CoE Dashboard August 2024
Governance Dashboard August 2024

It contains all the changes targeting August: https://github.com/orgs/microsoft/projects/195/views/59

Including these two very impactful changes:
#8016 - Update Kit to respond to new Power Platform Admin Role PIM feature
#8482 - Integrate new audit log methodology into the kit for API reduction. Please see issue for setup instructions.

@Daren2023
Copy link

Good Morning Jenefer,
After attending the CoE Office Hours, I followed your directions list above and made the required changes to Sync Audit Logs V2 and app registration. In this thread, there is reference to Pete’s work on Sync Audit Logs V3. Should we be adding the V3 version to the CoE or wait and it will be included in the September core solution?

@Jenefer-Monroe
Copy link
Collaborator Author

It should be v2 still. At first it had been renamed v3 but I changed it back. Sorry for the confusion!

@Jenefer-Monroe
Copy link
Collaborator Author

@github-project-automation github-project-automation bot moved this from Code complete ☑ to Done ✅ in CoE Starter Kit Aug 16, 2024
@plattasia
Copy link

Hello, can we please update the official instruction on the audit log - https://learn.microsoft.com/en-us/power-platform/guidance/coe/setup-auditlog-http about using this as well, easier to know what to do then finding it in change logs.

thanks :)

@tocri
Copy link

tocri commented Sep 6, 2024

Hi, How can i see the changes in COE ? Active audit logs (in PP Admin View) looks the same as before

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 enhancement New feature or request officehourTHANKS
Projects
Status: Done
Development

No branches or pull requests

4 participants