ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    365 have I been pwned script

    IT Discussion
    office 365 security audit
    7
    17
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KellyK
      Kelly @JaredBusch
      last edited by

      @jaredbusch said in 365 have I been pwned script:

      @kelly said in 365 have I been pwned script:

      @jaredbusch said in 365 have I been pwned script:

      @stuartjordan said in 365 have I been pwned script:

      @jaredbusch said in 365 have I been pwned script:

      The code he posted must assume something because it will not run as is for me.

      Someone said their powershell wasn't updated and soon as they updated it worked?
      I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.

      Windows 10 1803, with whatever powershell is default.

      Yes, I was using single tenant. But it pukes on the first command.

      Do you have the O365 modules loaded?

      You are supposed to save the script into VSCode and execute it.

      So I have no environment loaded.

      It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.

      travisdh1T 1 Reply Last reply Reply Quote 1
      • travisdh1T
        travisdh1 @Kelly
        last edited by

        @kelly said in 365 have I been pwned script:

        @jaredbusch said in 365 have I been pwned script:

        @kelly said in 365 have I been pwned script:

        @jaredbusch said in 365 have I been pwned script:

        @stuartjordan said in 365 have I been pwned script:

        @jaredbusch said in 365 have I been pwned script:

        The code he posted must assume something because it will not run as is for me.

        Someone said their powershell wasn't updated and soon as they updated it worked?
        I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.

        Windows 10 1803, with whatever powershell is default.

        Yes, I was using single tenant. But it pukes on the first command.

        Do you have the O365 modules loaded?

        You are supposed to save the script into VSCode and execute it.

        So I have no environment loaded.

        It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.

        The script doesn't load the module?

        0_1533219831792_f8f7e54f-baed-493d-9da6-30ea0a4ef2a3-image.png

        KellyK 1 Reply Last reply Reply Quote 2
        • KellyK
          Kelly @travisdh1
          last edited by

          @travisdh1 said in 365 have I been pwned script:

          @kelly said in 365 have I been pwned script:

          @jaredbusch said in 365 have I been pwned script:

          @kelly said in 365 have I been pwned script:

          @jaredbusch said in 365 have I been pwned script:

          @stuartjordan said in 365 have I been pwned script:

          @jaredbusch said in 365 have I been pwned script:

          The code he posted must assume something because it will not run as is for me.

          Someone said their powershell wasn't updated and soon as they updated it worked?
          I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.

          Windows 10 1803, with whatever powershell is default.

          Yes, I was using single tenant. But it pukes on the first command.

          Do you have the O365 modules loaded?

          You are supposed to save the script into VSCode and execute it.

          So I have no environment loaded.

          It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.

          The script doesn't load the module?

          0_1533219831792_f8f7e54f-baed-493d-9da6-30ea0a4ef2a3-image.png

          Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.

          JaredBuschJ 1 Reply Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch @Kelly
            last edited by

            @kelly said in 365 have I been pwned script:

            @travisdh1 said in 365 have I been pwned script:

            @kelly said in 365 have I been pwned script:

            @jaredbusch said in 365 have I been pwned script:

            @kelly said in 365 have I been pwned script:

            @jaredbusch said in 365 have I been pwned script:

            @stuartjordan said in 365 have I been pwned script:

            @jaredbusch said in 365 have I been pwned script:

            The code he posted must assume something because it will not run as is for me.

            Someone said their powershell wasn't updated and soon as they updated it worked?
            I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.

            Windows 10 1803, with whatever powershell is default.

            Yes, I was using single tenant. But it pukes on the first command.

            Do you have the O365 modules loaded?

            You are supposed to save the script into VSCode and execute it.

            So I have no environment loaded.

            It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.

            The script doesn't load the module?

            0_1533219831792_f8f7e54f-baed-493d-9da6-30ea0a4ef2a3-image.png

            Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.

            Likely. This is what I hate so much about guides on the internet and why I always base my guides on the most minimal base I can. People always assume so much shit and then things never work right.

            You cannot even import the Azure modules without first installing something from MS right?

            This script says nothing about that.

            scottalanmillerS J 2 Replies Last reply Reply Quote 3
            • scottalanmillerS
              scottalanmiller @JaredBusch
              last edited by

              @jaredbusch said in 365 have I been pwned script:

              @kelly said in 365 have I been pwned script:

              @travisdh1 said in 365 have I been pwned script:

              @kelly said in 365 have I been pwned script:

              @jaredbusch said in 365 have I been pwned script:

              @kelly said in 365 have I been pwned script:

              @jaredbusch said in 365 have I been pwned script:

              @stuartjordan said in 365 have I been pwned script:

              @jaredbusch said in 365 have I been pwned script:

              The code he posted must assume something because it will not run as is for me.

              Someone said their powershell wasn't updated and soon as they updated it worked?
              I take it this is a single tenant your are trying it on? there was 2 scripts on that page I believe.

              Windows 10 1803, with whatever powershell is default.

              Yes, I was using single tenant. But it pukes on the first command.

              Do you have the O365 modules loaded?

              You are supposed to save the script into VSCode and execute it.

              So I have no environment loaded.

              It has been a little while since I've managed O365 with Powershell, and I don't have a tenant right now, so I can't test it, but when I last used it if you didn't load the Azure/O365 modules you wouldn't have access to most of the commands used in the script.

              The script doesn't load the module?

              0_1533219831792_f8f7e54f-baed-493d-9da6-30ea0a4ef2a3-image.png

              Unfortunately not. It may be that he is an O365 admin and can't imagine someone not loading it in their profile. I don't know.

              Likely. This is what I hate so much about guides on the internet and why I always base my guides on the most minimal base I can. People always assume so much shit and then things never work right.

              You cannot even import the Azure modules without first installing something from MS right?

              This script says nothing about that.

              Correct, even a lot of MS sites don't give you enough to actually get it to work. Following all the MS directions and still there are gaps. It's insanely poorly documented. And simply doesn't work on some PS versions (like Linux) but never says that it's incomplete there. So PS isn't the only requirement, but they never list requirements.

              jmooreJ 1 Reply Last reply Reply Quote 1
              • CloudKnightC
                CloudKnight
                last edited by

                I was hoping this was going to work, haven't tried it as don't have access to a tenant at that the minute. I found this on a post under the MSP category on Reddit. I will try and find the link....

                1 Reply Last reply Reply Quote 0
                • J
                  JackCPickup @JaredBusch
                  last edited by

                  You cannot even import the Azure modules without first installing something from MS right?

                  Correct. I was using this script last week. Works great with the module loaded but what a shit guide as you say.

                  1 Reply Last reply Reply Quote 1
                  • CloudKnightC
                    CloudKnight
                    last edited by

                    Thanks for confirming Jack, so it does work well with module loaded. Could you confirm which modules you had to import.

                    1 Reply Last reply Reply Quote 0
                    • jmooreJ
                      jmoore @scottalanmiller
                      last edited by

                      @scottalanmiller I think this brings to light a big problem in the IT world, people do not know how to do documentation. There are a few good ones but many more are just plain bad.

                      travisdh1T 1 Reply Last reply Reply Quote 2
                      • travisdh1T
                        travisdh1 @jmoore
                        last edited by

                        @jmoore said in 365 have I been pwned script:

                        @scottalanmiller I think this brings to light a big problem in the IT world, people do not know how to do documentation. There are a few good ones but many more are just plain bad.

                        That and many don't know what their own environment is!

                        jmooreJ 1 Reply Last reply Reply Quote 0
                        • jmooreJ
                          jmoore @travisdh1
                          last edited by

                          @travisdh1 You are sure right there

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post