Hello,
On Forti Authenticator we are sending vpn token through sms to our users, we have 1.100 users on the system, sometimes sms provider goes down and we have to change "Deliver token code by" setting to email manually for all users, as you can imagine it takes long time, i was wondering is there any CLI or API method to change "Deliver token code by" setting for all user at once?
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Created on 12-04-2022 02:57 AM Edited on 12-04-2022 03:50 AM
Nice, you managed to brake the first barrier.
Next, you would have to loop through all the users either in Postman or with a Python script.
The URL should be something like below (if Postman is used) where the variable is passed from a list/array with all the users in question, which you got from the previous command, GET.
https://10.0.0.112/api/v1/ldapusers/{{user}}/
L.E. sorry I cant give you more exact examples of what should be done, i'm struggling to get any results returned on my end
Created on 12-04-2022 02:57 AM Edited on 12-04-2022 03:50 AM
Nice, you managed to brake the first barrier.
Next, you would have to loop through all the users either in Postman or with a Python script.
The URL should be something like below (if Postman is used) where the variable is passed from a list/array with all the users in question, which you got from the previous command, GET.
https://10.0.0.112/api/v1/ldapusers/{{user}}/
L.E. sorry I cant give you more exact examples of what should be done, i'm struggling to get any results returned on my end
I owe you a cold beer man, here is what i did;
-exported results to a csv
-Created bulk change script
-in Postman used Run Collection option
-Set csv as data source
-Choose Bulk script
-Run
1.100 user's token delivery method changed from sms to dual in 1 minute. Many thanks for your time & support
Glad you sorted it out.
For my issue, its apparently related with the fact that I have a port fwd for https://FAC on another port, https://FAC:YYYY because I access it via public IP.
From a host in LAN, i get returned the correct values and not :
{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null, "total_count": 0}, "objects": []}
Expert Home Solutions is a reputable company that offers a wide range of services, including air conditioning services. Their team of experts can help with everything from installation and repair to routine maintenance and cleaning. They have the knowledge and expertise to work with all types of air conditioning systems and ensure that your unit is running at maximum efficiency. With years of experience in the industry, you can trust Expert Home Solutions to provide top-notch air conditioning services that will keep you cool and comfortable all year round. Contact them today to schedule an appointment and experience their exceptional services for yourself. https://experttoday.pro/air-conditioning/
Hello,
We are currently using SMS delivery for VPN tokens on Forti Authenticator, but when our SMS provider experiences downtime, we have to manually switch the "Delivery token code by" setting to email for all 1,100 users. This process is time-consuming. Is there a CLI or API method available to change this setting for all users simultaneously?
Thanks!
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1702 | |
1092 | |
752 | |
446 | |
228 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.