12Knocksinna / Office365itpros

Office 365 for IT Pros PowerShell examples
MIT License
1.28k stars 567 forks source link

Get-graphdata #17

Closed kendalf1 closed 3 years ago

kendalf1 commented 3 years ago

@12Knocksinna - Sorry if this isn't where I should be asking a question.... but

In your Teamsgroupactivityreport - the one that uses Graph, where do I get the function that you use Get-graphdata

I can't find that function anywhere.

12Knocksinna commented 3 years ago

It's at the bottom of the script.

12Knocksinna commented 3 years ago

And you need the TeamsGroupsActivityReportV5-Graph script, not the other version.

kendalf1 commented 3 years ago

Thanks @12Knocksinna , sorry for you having to point out the obvious to me....

Thanks for this! It's running right now, I managed to give it the right permissions in graph to get it to work.... sweet!

I'm sure you realize this but those creds are in the script. I assume they are for a test environment.... Have you ever stored credentials in key vault for a Powershell script?

12Knocksinna commented 3 years ago

Yes. The intention was to build a script that could be run in any tenant because the Graph permissions were not particularly heavy. But in any case, the credentials have been changed from the real values. They're only there to allow people to see what they should be adding.

From: kendalf1 notifications@github.com Sent: Monday, December 21, 2020 9:26 PM To: 12Knocksinna/Office365itpros Office365itpros@noreply.github.com Cc: 12 Knocksinna (Gmail) 12knocksinna@gmail.com; Mention mention@noreply.github.com Subject: Re: [12Knocksinna/Office365itpros] Get-graphdata (#17)

Thanks @12Knocksinnahttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F12Knocksinna&data=04%7C01%7Ctony.redmond%40redmondassociates.org%7C168993c9a26a46d4c33208d8a5f70063%7Cb662313f14fc43a29a7ad2e27f4f3478%7C0%7C0%7C637441827944719739%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vJq54lLkeIF%2BHMkMLYrB6yQP97dwoc7ITp%2FrzTwaElA%3D&reserved=0 , sorry for you having to point out the obvious to me....

Thanks for this! It's running right now, I managed to give it the right permissions in graph to get it to work.... sweet!

I'm sure you realize this but those creds are in the script. I assume they are for a test environment.... Have you ever stored credentials in key vault for a Powershell script?

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2F12Knocksinna%2FOffice365itpros%2Fissues%2F17%23issuecomment-749203584&data=04%7C01%7Ctony.redmond%40redmondassociates.org%7C168993c9a26a46d4c33208d8a5f70063%7Cb662313f14fc43a29a7ad2e27f4f3478%7C0%7C0%7C637441827944719739%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IVl91wgb7JlY%2Bo71u5cJCCivXJDrOuYffBtY8HZQers%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK45CIRPDOKKMG2W5QOQORTSV64OBANCNFSM4VEVIFMA&data=04%7C01%7Ctony.redmond%40redmondassociates.org%7C168993c9a26a46d4c33208d8a5f70063%7Cb662313f14fc43a29a7ad2e27f4f3478%7C0%7C0%7C637441827944729733%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IgVbsWm9JAFLVeKuvv1BzXdkaJqO2aAmFmxwUZle3Uc%3D&reserved=0.