Ive been playing with how to do this. I just wanted to do something small like:
- have a text box
- user enters an email address to text field
- user hits submit button
- script grabs text input and queries exchange and returns something back to text box
How do i add import-module ExchangeOnlineManagement? I was testing with the dashboard.ps1 file and it seems to load the dashboard but when i hit submit, the dashboard logs just say something like “there was an error with the request”.
Maybe im importing the module at the wrong section? Should i be running a separate script that uses Start-UDDashboard and pass in the dashboard?