title: Adding dynamic security group members to shared mailbox permissions script
body: <p>Trying to do something like this to add members of an azure dynamic security group to the shared mailbox they belong to based on CSV info</p>
  <pre><code>Import-Csv C:\users\jeiger\desktop\kiosknames.csv | ForEach-Object {
  
  foreach ($kioskgroup in $_.kioskgroupname){
      foreach ($user in $kioskgroup){
          Add-MailboxPermission $_.kioskemail -User $user -AccessRights FullAccess -AutoMapping $false
          Add-RecipientPermission $_.kioskemail -AccessRights SendAs -Trustee $user
      }
  }
  
  }
  </code></pre>
  <p>Headers would read something like:
  kioskgroupname and kioskemail</p>