Allow applications to access online meetings on behalf of a user - microsoft-graph-teams

The functions described in the following article do not exist in any of the powershell packages that I can find for Teams/Skype.
https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy
New-CsApplicationAccessPolicy
Grant-CsApplicationAccessPolicy
Looking for a way to Allow applications to access online meetings on behalf of a user - anyone have suggestions here?

It won't be any part of existing package of your powershell installation. You need an administrator or owner level user of your subscription to import it.
Have your admin user follow the below steps:
Open Powershell in admin mode
type Install-Module MicrosoftTeams
type Y
type Set-ExecutionPolicy -ExecutionPolicy AllSigned -Scope CurrentUser
type
Import-Module MicrosoftTeams
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession
After that, your admin person can run the New-CsApplicationAccessPolicy and Grant-CsApplicationAccessPolicy for you.

Related

How do you grant a user access to create webhooks in Phabricator?

I know that webhooks are available in Herald > Webhooks in Phabricator, but I can't figure out how to grant access to this function. When I click the button I see the message: You do not have permission to create these objects.
Does anyone know how to grant access to create webhooks?
You can promote an user from standard user to Administrator to grant access to Phabricator webhooks.
Users must have the "Can Create Webhooks" permission to create new
webhooks.
― Phabricator Webhooks documentation
If you need further customization, visit this URL and change the default:
http://example.com/applications/view/PhabricatorHeraldApplication/

Apache Airflow: User creation, access and permissions on DAG

I am using airflow (1.8.0) and using web UI I can create a user but it doesn't allow me to set a password. But is it possible via command line to
create new user with password
assign role/permissions to a user
how to limit and manage access of user/group so that they cannot change or trigger someone else's DAG
I have seen apache-airflow (1.10.0) which does have cli feature to create a user with password (https://airflow.apache.org/cli.html#create_user), but cannot see anything around setting access level and permissions.
Airflow 1.8.0 doesn't support CLI password creation.
You can create user and set a password as it is described here.
Airflow 1.10.0 doesn't allow to manage permissions for a given user, future releases should have this feature.

Microsoft Bot Framework Insufficient privileges to perform this operation

I created a Microsoft Account using my work mail.
Using this account, with 50$ credit, i tried to register my bot (already published using visual studio 2017). The problem is that when i tried to obtain the credentials for my bot, i'm getting an error that says i don't have enough privileges (even though i'm supposed to be the administrator of the account)
Button i clicked to get credentials
Error image
Please log into http://aad.portal.azure.com and go to Users and Groups -> User Settings and check if Users Can Register Applications is set to Yes.

Alfresco : ldap sync after user login authentication

After referring so many forums, I am able to authenticate and sync active directory users to alfresco. The problem is we have more than 25,000 users and rite now we are planning to open alfresco only for selected users. Whenever someone search people they will be finding all the 25,000 users who are not even using alfresco. My It team is not willing to create seperate group for these selected members. Is it possible to sync only users who are logged in.
I am using alfresco 4.2e Binary Installation. Windows 7 64 bit.
The most easiest way would be to distinct users to sync via LDAP query.
You could find this link useful.
This scenario should do it:
enable ldap authentication
configure the authenication chain to include Alfresco and LDAP. This will ensure to try to authenticat against both systems. e.g.
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad
disable sync
# This flag enables use of this LDAP subsystem for user and group
# synchronization. It may be that this subsytem should only be used for
# authentication, in which case this flag should be set to false.
ldap.synchronization.active=false
If you start Alfresco the very first time there is no user in Alfresco. Depending on your strategy how to control the user creatioin you could ether:
create user manual
If you're running on linux the easiest way would be to use the alfresco-shell-tools otherwise you could use the csv-import feature in the user admin. The trick is to use the same username so Alfresco will try to authenticat against both systems before it fails.
create user on first login
Another way is to enable implicit user creation on first login. This isn't my recommendation since you will get trouble later because the user has no email address configured / no user info is synced. (This way is not tested - if this doesn't work you may define a sync query which doesn't return users to enable sync)
synchronization.autoCreatePeopleOnLogin=true
you will get the auto-creation of people who were successfully authenticated but weren't brought in by the sync
you need to add/change this line also on ldap-authentication.properties :
ldap.authentication.active=true
ldap.synchronization.active=false
ldap.synchronization.autoCreatePeopleOnLogin=false
synchronization.syncOnStartup=false
synchronization.syncWhenMissingPeopleLogIn=false
and add on alfresco-global.properties :
create.missing.people=false

ASP.NET Anonymous user cannot print to a network printer

I have an ASP.NET application where user is Anonymous when he connects to website.
Also I have a printing server inside network.
I want to let this user to print to the network printer.
In order to print I have to use File.Copy command.
When I do this I get "Access denied".
So I tried to impersonate the user with credentials of user that is inside domain and has the rights to print to that specific printer.
The problem is this user has to be Administrator, and I cannot let him be the Administrator.
When this user is not Administrator then the printing is not working ("Access denied").
I tried to use Network Credentials but I don't know how to set credentials to command File.Copy.
This command doesn't have any extensions or overloading for credentials.
Any help will be appreciated :)
You should just grant write access to the folder that you are copying to. Right click on the folder and choose Properties -> Security. Then add the user that you are impersonating in asp.net. You can do the same thing for the anonymous user, although it's a bit more complicated.

Resources