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 - BUG] Audit Logs solution fails after upgrade - and fixing up did not work. #4961

Closed
Jenefer-Monroe opened this issue Mar 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@Jenefer-Monroe
Copy link
Collaborator

Jenefer-Monroe commented Mar 11, 2023

Describe the issue

If you experienced an issue even after attempting to fix as described in #1424, then you likely ended up with a bad connection, perhaps due to the wrong identity provider being selected as in #4808

Once a bad connection is created its very difficult to fix. Its best just to "start over".
These steps may seem dramatic but it will lead to it being clean in the end.

Delete and remake the connection

  1. Delete all existing connections to Office 365 Management API
    image

  2. Edit the custom connector
    image

  3. Be sure to select the correct Identity Provider and to enter the correct recourse url depending on if you are commercial or GCC (or other cloud). Please see Set up the custom connector
    image

  4. Note that after you hit Update connector the values do appear to disappear, but they were saved, its just a product issue that they no longer appear as having been filled. You can see this as the Idenity Provider does appear correct now as Azure Active Directory instead of the default
    image

  5. Go to the test pane and create a connection
    image

  6. And now test by using the List Content action
    Note:

  • I'm assuming you've previously started the subscription since this is an upgrade bug
  • PublisherIdentifer is the Application ID
  • You'll need to set the start and end time to be in the last week and only 1 day apart.20
  • Make sure you get a 200 return and that data is actually returned in the body
    image

Apply new connection to connection reference

  1. Go to the Default solution > Connection references > Find any connection references for the custom connector
    image
    image

  2. Click each one to open its edit pane, select the drop down, and select your connection and save
    image
    image

Validate flow using the new connection

  1. Go to the audit logs solution > details page for the [Child] Admin | Sync Logs flow
    image

  2. Validate the connections now shown all green checks (may need to refresh the page), then click Run only users
    image

  3. Validate it shows correctly as the account you selected before.
    image

Test the flow

  1. Go to the Admin | Sync Audit Logs flow and run it
    image

Expected Behavior

No response

What solution are you experiencing the issue with?

Audit Log

What solution version are you using?

3.3

What app or flow are you having the issue with?

custom connector

Steps To Reproduce

No response

Anything else?

No response

@Jenefer-Monroe Jenefer-Monroe added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Mar 11, 2023
@Jenefer-Monroe Jenefer-Monroe self-assigned this Mar 11, 2023
@manuelap-msft
Copy link
Contributor

Closing out as the Audit Log solution is now deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Archived in project
Development

No branches or pull requests

2 participants